Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can make your HTML canvas rendering faster by using typed arrays as described here https://hacks.mozilla.org/2011/12/faster-canvas-pixel-manipu...


Oh thank you! I will have a look


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/OffscreenCa...


I will work on it when I have time. The offscreen looks like the perfect fit for me, to replace the hidden canvas. Many thanks




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: