forever components

Psychedelic

Paisley Drift

30 psychedelic paisley teardrops drift and morph across a near-black field in green, sage, and gold using additive blending and a trail-wash smear effect.

canvasmedium complexitymoderate 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 psychedelic backgrounds, music/festival branding, hero sections needing organic, hypnotic motion without user interaction.

When not to

Contexts needing legible text overlays — the bright additive blending competes strongly. Low-end devices running many simultaneous canvas tiles.

Working with an AI agent

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

Change N to 20, replace PAL with warm-only colors ['#ff6600','#ffaa00','#ff3300','#ffcc00'], and slow drift by changing time*0.06 to time*0.03 in drawAgent. 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

  • agent count (N=30)
  • color palette (PAL array)
  • drift speed multipliers (time*0.06 / time*0.05)
  • paisley scale (MIN*0.085*scl)
  • trail wash opacity (rgba(10,6,18,0.16))
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

  • visibilitychange pause/resume
  • reduced-motion static fallback (drawOneFrame)
  • globalCompositeOperation 'lighter' additive blend
  • IIFE wrapper
  • theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)

Known limitations

  • Background color hardcoded in both CSS and canvas fill — must change in two places
  • No pointer interactivity — purely passive
  • Additive blending can wash to white if N is increased significantly

paisleypsychedeliccanvasgenerativeambientlava-lampadditive-blend

More Psychedelic components

  • Liquid Melt7 lava-lamp blobs drift and merge with cycling pink-to-cyan hues on a dark canvas; "MELT" lettering warps per-glyph with skew and scale transforms above.
  • Kaleidoscope9 liquid blobs drift in a source wedge mirrored into 6-fold kaleidoscope symmetry on canvas; the whole disc rotates slowly with a hot-pink/violet/amber…
  • Warp TypeBold serif "WARP" sliced into vertical columns that ripple and bulge over swirling gold-amber lava blobs rendered with additive screen blending.
  • Swirl Vortex5 petal arms across 11 rings rotate at differential speeds to create a slow inward vortex in pink-violet-cyan hues with a glowing core.
  • Blob Lamp9 glowing metaballs slowly rise, sway, merge and split through a violet-magenta-amber color ramp on a dark canvas — lava lamp in canvas pixels.
  • Ripple Bloom22 lobed color rings bloom outward from a glowing center in pink-magenta-violet-cyan hues, cycling with a slow organic wobble via additive blending.