Kinetic Typography
Line Wipe Sweep
A gold scan bar sweeps down outlined letters, filling them with glowing solid color as it passes — like a darkroom print developing. Cycles through four words.
canvasmedium complexitymoderate motionclick
Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited
Worth keeping?
Votes steer what gets built next — sign in to cast one, free to read
When to use it
Hero text reveals, loading screens, or brand moments where a dramatic develop/reveal effect fits. Dark backgrounds only.
When not to
Light backgrounds (BG is hardcoded dark maroon). Contexts where auto-cycling word changes would distract from surrounding content.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change the words array to ["LAUNCH","BUILD","SHIP","GROW"], set ACC to '#00eaff' for a cyan glow, and slow the sweep speed by changing 0.012 to 0.007. Theme: dark tokens live in :root, the light variant in :root[data-theme="light"]; ?theme=light or a {type:'forever:theme'} postMessage switches at runtime.
Safe to edit
- words array (words=[...])
- accent color (ACC='#ffd166')
- sweep speed (0.012 base speed)
- hold pause duration (hold>70)
- font size scale (H*0.42)
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- IIFE wrapper
- prefers-reduced-motion guard with static fallback
- visibilitychange pause/stop
- DPR-aware canvas sizing
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- Background color hardcoded in CSS and JS — must change both BG constant and CSS to recolor
- Pointer nudge only accelerates sweep, not a full pointer interaction
- No aria labels on canvas or click target
More Kinetic Typography components
- Weight Morph WaveEach letter of a word pulses font-weight and vertical scale in a staggered sine wave, shifting hue from cyan to blue.
- Scramble DecodeNeon-green monospace words scramble through random glyphs then lock left-to-right like a terminal decrypting. Auto-cycles; click skips to next word.
- Split-Flap BoardSix amber tiles cycle through letters to spell airport-style words (DEPART, ARRIVE, ONTIME, BOARDS) on a dark charcoal background with a rotateX flip…
- Gradient ShimmerBold "SHIMMER" text with a rainbow gradient clipped to the letterforms, continuously panning for a glossy iridescent sweep on deep umber.
- Glitch RGB SplitRed and cyan pseudo-element copies of GLITCH drift and randomly snap with clipped displacement, simulating a CRT RGB-split glitch on near-black.
- Marquee TickerTwo rows of bold words scroll in opposite directions — yellow left, teal right — with red bullet separators on a dark green background, news-ticker style.