Art Nouveau
Whiplash Line
Five Catmull-Rom S-curve ribbons in gold, sage, and rose breathe with sinusoidal wobble; five-petal rosette nodes pulse along the curves.
canvasmedium complexitysubtle 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
Art-nouveau or botanical hero backgrounds, luxury brand ambient displays, decorative section dividers needing organic motion.
When not to
Contexts requiring legible text overlays (curves dominate). Light backgrounds — dark ground is hardcoded in CSS.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change the palette to jewel tones by replacing COLS with ["#4a7fa5","#6dbfb8","#a56ea5","#c49a6c","#e8dfc8"] and increase breathing by setting each RIB amp to 0.08. 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
- palette (COLS array)
- ribbon width per entry (w field in RIB)
- breathing amplitude (amp field)
- animation speed (sp field)
- node petal count (k<5 loop)
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- IIFE wrapper
- prefers-reduced-motion drawStatic() guard
- visibilitychange pause/resume
- DPR-aware canvas sizing with ctx.setTransform
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- Background color hardcoded in CSS (#0e1310) — must edit both CSS and JS to change
- Reduced-motion renders a single static frame only
- No pointer interactivity — purely passive
More Art Nouveau components
- Vine GrowAn Art Nouveau whiplash vine draws itself upward via stroke-dashoffset; four leaves bloom and three gold buds pop along the S-curves on a dark green…
- Stained Glass7 organic petal and leaf cells light up in sequence with glowing halos against dark glass, then fade and reblooom. CSS transitions on SVG paths.
- Floral BloomRose and gold petals unfold in sequence around a glowing core; corner whiplash vines draw in. The whole bloom sways gently on a loop.
- Peacock CurlFive peacock-feather plumes unfurl from a central fan, swaying gently in gold and green whiplash lines with jewel-toned iridescent eyes at each tip.
- Arch TendrilsSeven symmetric whiplash tendrils with curled buds, leaves, and a crown rosette sway gently in a slow sine-wave rotation over a dark stained-glass arch…
- Lily PondStylised lilies with radial petals and kidney pads drift over expanding gold ripple rings on a deep green pond, framed by whiplash vine corners.