Use requestAnimationFrame for rendering loops, not for your game logic | Hacker News Reader