Organic & Nature
Falling Snow
Up 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.
canvasmedium complexitymoderate 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
Winter/holiday hero backgrounds, ambient screensavers, seasonal landing pages on dark themes.
When not to
Light-background layouts (background hardcoded dark navy). Contexts where motion competes with legible text overlays.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Increase snowflake count by changing the divisor in `Math.round(W*H/4200)` to 2500, shift flake color to warm white by changing `rgba(245,250,255,` to `rgba(255,248,230,`, and slow drift speed by setting `t+=0.005`. 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
- flake density divisor (W*H/4200)
- flake color (rgba 245,250,255)
- wind responsiveness (mw*1.2 factor)
- flake size range (1+z*2.6)
- sway amplitude (0.5*f.z multiplier)
- sky gradient colors (#243349 / #141d2a)
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- DPR-aware canvas sizing and setTransform
- visibilitychange pause/resume
- prefers-reduced-motion guard (reduced drift path)
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- Background color hardcoded in CSS — must change #1a2433 and gradient stops together
- Flake count capped at 110 regardless of screen size
- Reduced-motion path still animates (slow drift) rather than fully static
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.
- 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.