0
offscreen canvas and web worker
Hello all. So I have been playing around with canvas lately and was wondering if anyone knew how to render to canvas from offscreen canvas properly. this is pretty much where im at: let canvas = document.querySelector("canvas").transferControlToOffscreen(); let worker = new Wokrker("canvasworker.js"); worker.postMessage({canvas:canvas},[canvas]); in worker i set canvas to canvas and ctx to context 2d...
1 Respuesta
0
What will this do out of curiosity?