WOAH! Is that OffscreenCanvas?
summary
Demo shows OffscreenCanvas in a worker actually moving drawing off the main thread so UI stays responsive while heavy work runs elsewhere. A reproducible jank case uses Fibonacci(41) stalls main thread to prove it; a side-by-side canvas keeps animating. Practical limits appear: no easy image or video decoding in workers so images need main-thread load or per-frame transfer and video requires messy hacks. Concrete tools: transferControlToOffscreen, createImageBitmap, worker message passing.
AI-written summary · about
related talks
24mWeb Workers - Little Minions At Work for Optimizing Performance
53mLet the main thread breathe!
23mMultithreading in Javascript
18mEscaping flatland: a romance of data science in the browser
30mBuild Snappier Apps with React and Web Workers
42mLet the Main Thread Breathe!
15mWeb Workers — Add Productivity to Your Web Applications
13mHow to Use Web Workers for Fun and Profit
