Buffer Corruption

Pattern 2: Phrase flickering with buffer corruption (SFW mode).

SFW Mode - Cute & Playful

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 glitchChance: 0.08, // 8% corruption chance nsfw: false // SFW mode (default) }); typing.start('Neural corruption detected...');

Adjustable Corruption Settings

Control typing speed and corruption frequency in real-time.

40 chars/sec
8%
const typing = new TypingAnimation(element, { typingSpeed: 80, // Faster typing glitchChance: 0.20 // More corruption });

Custom Messages

Type your own message to see it corrupted and revealed.

const message = document.getElementById('input').value; typing.start(message);

Component Information

NSFW Mode: For explicit content examples, see advanced/nsfw-corruption.html (18+ only)