Particles & Physics
Orbit Index
A double orbit of particles bursts from a Black Friday offer and settles into a compact printed mark.
canvasheavy complexityintense motionpointermobile-ready
Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited
1
When to use it
Seasonal campaign art, Black Friday offer animations, or interactive particle-led promotional moments.
When not to
Low-power devices, content-heavy layouts, or campaigns outside the Black Friday period without changing the offer copy.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change the sale headline and code by editing data-offer and data-code on the html element. Change the muted sage palette in the root CSS tokens. The canvas is 600×450 logical pixels and scales with its frame.
Safe to edit
- Black Friday headline (data-offer)
- coupon code (data-code)
- sage palette (:root --accent)
- particle counts and shape (artCount and motif)
- animation timing (cycle, hold and reset)
Keep intact
- DPR-aware canvas sizing and aspect ratio
- prefers-reduced-motion static frame
- visibility and intersection pause/resume
- pointer response and click/keyboard replay
- forever:theme message hook
- demo-v1 preview lifecycle and forever:interactive takeover
Known limitations
- Seasonal headline and coupon copy need updating for other campaigns.
- Dense particle layers may run slowly on older mobile devices.
- Artwork uses a fixed 4:3 composition and centers inside taller frames.
More Particles & Physics components
- Gravity Dot RainMatte verdigris, mauve, rose, moss and ochre dots fall under gravity with motion trails, bounce off the floor, and scatter away from the cursor on a dark…
- Firework BurstColorful glowing sparks burst radially, fall under gravity, and fade against a dark sky. Initial automatic launches stop after first input; canvas clicks…
- Confetti CannonOchre festival-paper palette: broad confetti rectangles fire from bottom corners, tumble and flip. First input stops automatic launches; a manual burst…
- Bouncing Balls7–14 glossy matte-toned balls (verdigris, dusty rose, ochre, slate blue, lilac, moss) bounce off walls and collide with elastic physics; cursor repels…
- Spring ChainA 16-node spring chain whips and follows the cursor in a lime-to-gold gradient; initial figure-eight attract motion stops after first input; manual chain…
- Cloth Wave GridA 10x10 wireframe grid ripples like cloth via sine/cosine waves through dusted sky-blue, aqua and lilac hues; mesh nodes bulge away from the cursor on hover.