You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does somebody know the most efficient way of doing this?
I cant Ser/De canvas to transfer it to worker.
var htmlCanvas = document.getElementById("canvas");
var offscreen = htmlCanvas.transferControlToOffscreen();
var worker = new Worker("offscreencanvas.js");
worker.postMessage({canvas: offscreen}, [offscreen]);
The text was updated successfully, but these errors were encountered:
Does somebody know the most efficient way of doing this?
I cant Ser/De canvas to transfer it to worker.
The text was updated successfully, but these errors were encountered: