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

Indeed, it looks like they're even using requestAnimationFrame. It's still really slow on Firefox, which I've found to be one of the worst offenders when making canvas games. The problem here might be fixed by splitting the physics loop from the animation loop. I think it's doing all the calculations as fast as it draws.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: