Vanish input
after Rauno Freiberg
A large email field whose text breaks into pixels and drifts away when you press Enter.
Details
- The text is drawn onto a canvas exactly over the field, at device resolution, and every inked pixel becomes a particle.
- A front sweeps left from the last letter at 4px a tick; pixels past it random-walk 0.5px a tick and fade over about 25 ticks.
- Ticks are a fixed 60Hz, as measured frame by frame, so a 120Hz screen sees the same speed.
- The canvas is sized to the field, so long emails vanish whole; with reduced motion the text just fades.
© 2026 Dhaval Khandhadia. Use it in anything you build; don’t resell it. MIT with the Commons Clause.