The OffscreenCanvas allows to create a canvas that can be rendered off screen. It can also be used in web workers.
Your browser does not support OffscreenCanvas.

Gain CPU time on each animation frame cycle by bypassing the document graphics update (page compositing) code path. Note: this is true even when using OffscreenCanvas on the main thread.