forever components

Art Nouveau

Lily Pond

Stylised lilies with radial petals and kidney pads drift over expanding gold ripple rings on a deep green pond, framed by whiplash vine corners.

canvasmedium complexitysubtle motion

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

Ambient hero backgrounds for botanical, wellness, or art nouveau-themed UIs. Looping screensavers or decorative section dividers.

When not to

Contexts requiring legible text overlays — dark pond background limits contrast. Low-end devices running continuous rAF loops.

Working with an AI agent

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

Change lily petal color from rose to lavender by setting ROSE to '#b08fbf' and ROSE2 to '#d4bbe0', and add a fifth lily at {x:0.80, y:0.70, s:0.65, h:0, ph:5.2} to the lilies array. 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 constants (GOLD, ROSE, GREEN, LEAF, PETAL)
  • lily positions and scales (lilies array)
  • ripple origin points (ripO array)
  • drift speed multiplier (time*0.5)
  • vine corner margin (S*0.06)
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

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

Known limitations

  • Background color hardcoded in BG constant and radial gradient stops — edit both to change pond color
  • Ripple origins are fixed, not cursor-driven
  • Vine corners scale only with S (min dimension), not aspect ratio

art-nouveaucanvasbotanicalambientripplefloralpond

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.
  • Whiplash LineFive Catmull-Rom S-curve ribbons in gold, sage, and rose breathe with sinusoidal wobble; five-petal rosette nodes pulse along the curves.
  • 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…