Psychedelic
Liquid Melt
7 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.
canvasheavy 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-themed hero sections, psychedelic or creative portfolio backgrounds, ambient screensaver-style displays.
When not to
Light backgrounds (canvas bg hardcoded dark), content layouts requiring legible text overlays, low-end mobile (pixel loop per frame).
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change the word from 'MELT' to 'FLUX', shift hue range to 60+90 (yellow-to-green band) by editing the `hue = 260 + 90*Math.sin(hp)` line, and increase blob count NB from 7 to 10. 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
- display word (WORD variable)
- blob count (NB=7)
- hue range (260 + 90*Math.sin)
- blob speed (vx/vy *= 0.00026)
- letter warp intensity (0.16 scale, 10px translateY, 5deg skewX)
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- low-res 88x88 canvas upscaled via CSS (perf critical)
- IIFE wrapper
- reduced-motion static-frame guard
- visibilitychange pause/resume
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- Pixel loop runs every frame — CPU-bound on low-end devices
- Background color hardcoded to #0a0612 in CSS
- No touch/pointer interactivity — purely passive
More Psychedelic components
- 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.
- Paisley Drift30 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.