Image Trail — WebGL visual-persistence effect

An orthographic Three.js scene of emissive spheres rendered through a custom trail pass: instead of clearing the buffer every frame, the effect keeps the previous render target and mixes the new frame into it with a decay factor, so each moving ball leaves a fading smear behind it. Drag to orbit the camera. Built with React Three Fiber, Three.js and the postprocessing library; the shader lives in the image-trail-shader repository on GitHub.

Made by Niccolò Fanton. Browse all WebGL demos on the demo hub.