Organic & Nature
Drifting Clouds
Puffy white clouds with radial-gradient puffs and soft blue undersides drift across a layered sky gradient; pointer nudges them forward.
canvasmedium complexitysubtle motionpointer
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
Calm ambient backgrounds, weather apps, nature or travel themes, daytime sky hero sections.
When not to
Dark-mode UIs (sky gradient hardcoded light blue). Contexts requiring text legibility — clouds drift across foreground.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change cloud count to 10 by adjusting the divisor in Math.round(W/120), set base speed to 0.3 in mk(), and shift sky to a sunset palette by updating the three gradient color stops in frame(). 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
- cloud count divisor (W/120)
- cloud speed base (0.12 + z*0.25)
- puff count per cloud (5 + random*3)
- sky gradient color stops
- pointer push strength (push+0.3)
- cloud y-spread range (0.15..0.75)
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- DPR-aware canvas sizing + setTransform
- visibilitychange pause/resume
- prefers-reduced-motion guard (stops cloud movement)
- cloud wrap-around respawn logic
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- Sky and cloud colors hardcoded — dark-mode adaptation requires full palette swap
- Reduced-motion stops movement but still runs rAF loop drawing static clouds
- Pointer only accelerates clouds rightward — no directional influence
More Organic & Nature components
- Growing VineA 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.
- 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.
- Aurora RibbonsThree glowing aurora bands in green and violet ripple and sway over a twinkling starfield; pointer steers the horizontal drift of all ribbons.