Kinetic Typography
Ransom Assembly
Mixed-font letters on cut-paper swatches fly in from random edges and spring-tumble into RANSOM, then reassemble. Click to restart.
canvasmedium complexityintense motionpointer
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
Dark hero sections needing dramatic kinetic type. Title screens, creative portfolio intros, or thriller-themed UIs.
When not to
Contexts requiring readable static text at all times — letters are off-screen between cycles. Low-end mobile may stutter.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change WORD to 'HELLO', swap ACC to '#f4a261', and increase spring stiffness from 0.10 to 0.18 so letters snap into place faster. 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
- target word (WORD constant)
- accent color (ACC = #e63946)
- spring stiffness range (0.10 + random*0.05)
- damping range (0.78 + random*0.06)
- font families array (fams)
- settle hold duration (settleHold > 120 frames)
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- DPR-aware canvas sizing and ctx.setTransform
- visibilitychange stop/start guard
- prefers-reduced-motion static fallback
- glyphW cache (measureText called once in layout, not per frame)
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- WORD is hardcoded to 6 chars — fams/wts/caseFlip/wsc arrays must be extended to match if word length changes
- Background color hardcoded in both BG constant and CSS — two places to update
- Pointer nudge only works on unsettled glyphs
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.