ASCII rain
FreeColumns of glyphs that fall, fade, and never repeat in step.
When to use
- A background behind a short headline, where the motion should stay quiet.
- A terminal or security section that wants falling glyphs without a canvas library.
When not to use
- Behind long paragraphs. The trails compete with reading.
- A logo lockup. The pattern never settles on a still mark.
Usage
- Copy the prompt and name the glyph set, column speed, and trail length.
- Place it in a relative box with overflow hidden so the columns stay inside the section.
- Keep the copy in a layer above the rain, with enough contrast to stay readable.
example.tsx
1import { AsciiRain } from "@/effects/ascii-rain";2 3export function Preview() {4 return (5 <div className="h-64">6 <AsciiRain />7 </div>8 );9}