I built a browser version of the Time Warp Scan filter that went viral on TikTok:
How it works: each webcam frame goes through tf.browser.fromPixels, gets resized and optionally mirrored, then a thin slice at the scan line is cut out with tf.slice and tf.concat-ed onto the slices from earlier frames. Every row (or column) of the final image was captured at a different moment, which is what makes the warp. It all runs on the WebGL backend inside tf.tidy, so nothing leaves your device and memory stays flat.
I just modernized it: it now uses only @tensorflow/tfjs-core + the WebGL backend instead of the full bundle, and the scanner is lazy-loaded, so the landing page went from ~377 KB to ~47 KB of gzipped JS.
The code is MIT licensed: . The previous/ folder has six small HTML prototypes that build the effect up one step at a time, if you want to learn the technique.
Known issue: it misbehaves in Firefox. If anyone knows why, PRs welcome!