Toggle Sidebar B
AppearanceLight & dark mode D

Pixel Trail

Pixelated cursor trail emitting fading squares with retro digital feel.

Default

Move the pointer over the stage to leave a trail of fading cells. Grid, trail and gooey filter are wired to the controls underneath.

Dark previewReplay previewOpen in new tab

Move Cursor.

Customize

Grid Size50
Trail Size0.1
Max Age250
Interpolate5
Color
Gooey Strength2

API Reference

PixelTrail

PropTypeDefaultDescription
gridSizenumber40Number of pixels in grid.
trailSizenumber0.1Size of each trail dot.
maxAgenumber250Duration of the trail effect.
interpolatenumber5Interpolation factor for pointer movement.
colorstring'#ffffff'Pixel color.
gooeyFilterobjectundefinedConfiguration for the gooey filter, as { id, strength }.
easingFunction(t: number) => number(x) => xEasing applied to the fade of each trail point.
glPropsobject{ antialias: false, powerPreference: 'high-performance', alpha: true }WebGL renderer options.
canvasPropsobject{}Canvas options. Only dpr, as a [min, max] range, is read.

Accessibility

Keyboard shortcuts and ARIA behavior.

  • Purely decorative and pointer driven. It does not react to keyboard or touch focus, so keep real content outside of it.