Skip to content
MotionLab

Particle Trail

A pooled particle tail following the pointer, drawn on a single 2D canvas.

sketchCanvas 2D

How it works

A fixed-size particle pool (object recycling, no allocation per frame) updated in a rAF loop with delta time.

Performance

Canvas is DPR-capped by the device tier; the loop pauses offscreen and when the tab is hidden.

Accessibility & reduced motion

Decorative. In reduced-motion mode only a static cursor dot is drawn.

Playgroundcustom
Export
{
  "rate": 4,
  "life": 1.1,
  "gravity": 120,
  "size": 5
}