Implementation example of offscreenCanvas using Comlink and three.js.