by IMTDb · 6y ago · 0 comments
As you say though, it's not 100% reliable in terms of speed, but I imagine 90%+ who play the game get a good experience.
[1] https://github.com/bradtraversy/vanillawebprojects/blob/mast...
[2] https://developer.mozilla.org/en-US/docs/Web/API/window/requ...
[3] https://github.com/bradtraversy/vanillawebprojects/blob/mast...
>> The number of callbacks is usually 60 times per second, but will generally match the display refresh rate in most web browsers as per W3C recommendation.