Accessing WebGL context from WebWorker
Allowing WebGL to run inside of a WebWorker
This is currently in development for Chrome and Firefox as OffscreenCanvas: https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas
Liviu Macsen commented
This would be great. Imagine that we can leave the main thread only for animations and rendering and calculations in on a separate thread via WebWorkers.