How it works
A fixed-size particle pool (object recycling, no allocation per frame) updated in a rAF loop with delta time.
A pooled particle tail following the pointer, drawn on a single 2D canvas.
A fixed-size particle pool (object recycling, no allocation per frame) updated in a rAF loop with delta time.
Canvas is DPR-capped by the device tier; the loop pauses offscreen and when the tab is hidden.
Decorative. In reduced-motion mode only a static cursor dot is drawn.
{
"rate": 4,
"life": 1.1,
"gravity": 120,
"size": 5
}