Pixel Trail

A pixel trail that follows the cursor and fades a moment later. A WebGL shader on a grid of pixels.

The pixel grid lights up wherever you move the mouse and fades out a few moments later. The whole trail is drawn by a custom WebGL shader — no DOM tricks involved.

Built on React Three Fiber and useTrailTexture from drei. Effect 1:1 from React Bits.