Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on The Book of Shaders. Parent comment
Many (including myself) have tied into window.requestAnimationFrame(...) recursively forever.
This lets the page breathe, but always call back into your main game loop to update the webgl render context/canvas.
There are no comments on this comment yet.
Many (including myself) have tied into window.requestAnimationFrame(...) recursively forever.
This lets the page breathe, but always call back into your main game loop to update the webgl render context/canvas.