forever components

Kinetic Typography

Optical Axis Morph

The word MORPH breathes between narrow-upright and wide-italic states via canvas-drawn stroke segments; copper-to-vermillion glow pulses with each axis cycle.

canvasmedium complexitymoderate motionpointer

Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited

Live demo — the real component, running in a sandbox. One self-contained HTML file, zero dependencies. Open it on the canvas →
Worth keeping? Votes steer what gets built next — sign in to cast one, free to read

When to use it

Dark-mode hero sections, loading screens, or brand moments where typographic motion signals transformation.

When not to

Light backgrounds (hardcoded dark umber). Contexts needing selectable or screen-reader-accessible text.

Working with an AI agent

Every component ships agent-ready metadata. An example instruction for this one:

Change the word to 'SHIFT', set the accent base color to golden amber (replace 160+hot*64, 194-hot*123, 138-hot*97 with 200+hot*40, 150+hot*50, 60), and slow the cycle to t += 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

  • word content (WORD constant)
  • cycle speed (t += 0.012)
  • stem thickness range (weight 0.06..0.26)
  • width axis range (widthAxis 0.62..1.40)
  • accent color (hot RGB calculation)
  • glow blur range (8+ease*26)
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

  • DPR-aware canvas sizing
  • visibilitychange pause/resume
  • prefers-reduced-motion static fallback
  • IIFE wrapper
  • theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)

Known limitations

  • Letters are custom segment lists — only M, O, R, P, H are defined; adding new letters requires authoring segment arrays
  • Text is canvas-drawn so not selectable or accessible to screen readers
  • Background color hardcoded in CSS and canvas clear — must change both to retheme

typographyvariable-fontcanvasmorphkineticglowloop

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.