GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

01Particle pool and lifetime

A pre-allocated pool of 220 particles retires when its lifetime runs out and is reborn with fresh settings; the same array is recycled with no creating or discarding, so frame time stays flat.

Best forHero background that keeps running after load

getContextglobalAlphaarc
Particle pool and lifetime
Open in a new tab

01 Particle pool and lifetime — Measured area 30.194% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · Canvas Particle Animation: 9 Engine Patterns

The post this demo lives in

Canvas Particle Animation: 9 Engine Patterns - preview of all 9 demosCanvas Particle Animation: 9 Engine PatternsA canvas particle animation is many small grains each carrying position, velocity, and lifetime across one canvas. Nine See all demos in this post

If you like this effect - similar demos