OffscreenCanvas—speed up your canvas operations with a web worker  |  Articles  |  web.dev

This document explains how you can use the OffscreenCanvas API to achieve performance improvements when rendering graphics in your web app.