Exported assets are free to use commercially and modify.

AfterimageShader.js

AfterimageShader

Motion trails

AfterimageShader
Preview requires WebGL2. You can still download the demo.
Image processing demo

Leaves fading trails behind moving objects, like waving a glow stick. Higher persistence keeps the trails for longer.

Official source