13 ms·
Don't know if you are doing it but another common optimisation is to draw on canvas offscreen. https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas
by smusamashah 3y ago
Don't know if you are doing it but another common optimisation is to draw on canvas offscreen. https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCa...
- owulveryck 3y agoI will work on it when I have time. The offscreen looks like the perfect fit for me, to replace the hidden canvas. Many thanks