News for hackers. Stuff that matters.
Re:The Book of Shaders by softfalcon on Friday June 12, 2020 @12:27PM (#23500830)
It could definitely be in an infinite loop if it's running a webgl context.

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.