Dynamic video in the browser
summary
An open source VideoContext library lets the browser edit and composite live media using HTML media elements, WebGL fragment shaders for per‑pixel work (green screen at ~15 million pixels/sec), and a graph of source, effect and transition nodes. It achieves frame‑accurate timing with requestAnimationFrame plus a fallback web worker, solves mobile autoplay with a pool of pre‑activated video elements, and runs heavy demos — notably 11 effects and 5 transitions in real time on full‑frame video.
AI-written summary · about








