Pattern 2: Phrase flickering with buffer corruption. Content rating is controlled by the
nsfw option — toggle below to switch between SFW and NSFW phrase pools.
SFW Mode - Cute & Playful
NSFW Mode Enabled (18+)
Explicit, intimate, and suggestive phrases will appear in the corruption buffer in deep purple
(#8b5cf6). This mode is for mature/horror
themed projects only. All demos below are re-instantiated with nsfw: true.
System Message with Buffer Corruption
Cute, playful, and atmospheric phrases flicker through before revealing the final text.
import { TypingAnimation } from '@whykusanagi/corrupted-theme/typing-animation';
const element = document.getElementById('output');
const typing = new TypingAnimation(element, {
typingSpeed: 40, // Characters per second
nsfw: false, // SFW mode (default)
loop: true, // Loop continuously
loopDelay: 2000 // 2s pause before looping
});
typing.start('Neural corruption detected...');
Adjustable Corruption Settings
Control typing speed and corruption frequency in real-time.