forever components

Organic & Nature

Growing Vine

A sinuous green vine grows upward sprouting 14 alternating leaves and a pale bud tip, then retracts in a seamless loop on a dark forest background.

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

Nature, botanical, or organic-themed hero sections. Ambient background for wellness, gardening, or eco brands.

When not to

Light-background UIs (background hardcoded dark forest green). Contexts where continuous looping motion distracts from content.

Working with an AI agent

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

Change the vine color to deep purple by replacing '#2f7a47' with '#4a1a7a' and '#6fd98e' with '#c084fc', then slow the grow/retract cycle by changing t+=0.006 to t+=0.003. 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

  • vine grow speed (t += 0.006)
  • stem colors (#2f7a47 / #6fd98e)
  • leaf count (14 in loop)
  • leaf size range (5 + random*5)
  • sway amplitude (W*0.18)
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

  • IIFE-equivalent single script block
  • prefers-reduced-motion guard (reduce flag)
  • visibilitychange pause/resume
  • DPR-aware canvas sizing
  • theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)

Known limitations

  • Background color hardcoded in CSS (#0d2818) — must edit to change from dark forest green
  • Leaves have randomized sizes baked at build() call — reloading changes leaf layout

naturevineorganiccanvasgrowthloopleaves

More Organic & Nature components

  • Flickering FireAdditive-blended ember particles rise from a glowing orange base, flickering like a real flame; cursor pans left/right to fan the fire sideways.
  • Water RippleConcentric ripple rings expand across a deep teal water surface with shimmering caustic bands; tap anywhere to drop a new ripple. Auto-drops periodically.
  • Lightning BoltJagged lightning bolts with branching forks strike randomly down a dark storm-sky canvas; screen flashes rust-white on each strike. Tap to trigger instantly.
  • Falling SnowUp to 110 depth-layered snowflakes drift and sway down a dark blue gradient; pointer movement shifts a wind force that nudges the entire flurry sideways.
  • Drifting CloudsPuffy white clouds with radial-gradient puffs and soft blue undersides drift across a layered sky gradient; pointer nudges them forward.
  • Aurora RibbonsThree glowing aurora bands in green and violet ripple and sway over a twinkling starfield; pointer steers the horizontal drift of all ribbons.