4 ms·
You can make your HTML canvas rendering faster by using typed arrays as described here https://hacks.mozilla.org/2011/12/faster-canvas-pixel-manipulation-with-t
by FredrikMeyer 3y ago
You can make your HTML canvas rendering faster by using typed arrays as described here https://hacks.mozilla.org/2011/12/faster-canvas-pixel-manipulation-with-typed-arrays/ https://hacks.mozilla.org/2011/12/faster-canvas-pixel-manipu...
- owulveryck 3y agoOh thank you! I will have a look
- smusamashah 3y agoDon'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
- deleted 3y ago[deleted]