SVG Animations
Turbulent Banner
Serif gradient "TURBULENT" ripples under animated feTurbulence heat-haze; baseFrequency and displacement scale breathe via coupled sines, dark vignette overlay.
svgmedium complexitymoderate motion
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-mode hero banners, title cards, or ambient displays needing dramatic animated text without canvas overhead.
When not to
Light backgrounds (hardcoded dark navy). Contexts where legibility is critical — displacement makes text harder to read at peak swell.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change the banner word to 'VELOCITY', update the gradient stops to amber (#ffb347, #ff6b00, #a33f00), and slow the swell by changing t*0.6 to t*0.3. 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
- banner text content (TURBULENT)
- gradient stop colors (#DCD2E7, #D0C3DF, #D8C197)
- displacement scale range (20+12 in sc formula)
- noise drift speed (t+=0.016 and sine multipliers)
- font size and letter-spacing (74px, 2)
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- IIFE wrapper
- prefers-reduced-motion guard (still() fallback)
- visibilitychange pause/resume
- SVG filter region padding (x/y -30%, width/height 160%)
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- feTurbulence seed crawl causes micro-jitter on some renderers at high zoom
- Background color hardcoded in both CSS and SVG rect — must update both to change theme
- No touch/pointer interactivity — purely passive
More SVG Animations components
- Stroke Draw-OnAn ochre constellation draws itself via stroke-dashoffset, with anchor nodes blooming in as the line passes; the glyph holds then fades and redraws in a loop.
- Blob MorphA glowing blush gradient blob slowly morphs between 5 organic shapes via Catmull-Rom spline interpolation, with a slow CSS spin and radial halo glow.
- Gooey Merge7 buttery-gold blobs orbit a shared center under an SVG goo filter, continuously merging and splitting as a global breathing pulse drives their spread.
- Icon MorphA peach gradient media icon morphs between play, pause, and stop states via point-interpolated Catmull-Rom curves, slowly spinning inside a glowing ring.
- Dash FlowOrthogonal circuit traces with powder-blue light pulses travelling via stroke-dashoffset; junction pads flicker as current passes. Dark navy background.
- Gradient SweepA faceted hex-prism wireframe raked by a rotating spectral gradient band; the lit slice shifts hue continuously via rAF while SMIL drives the sweep rotation.