mainloop.js

A well-constructed JavaScript main loop useful for games and other animated applications.

mainloopgameanimationtime

https://github.com/IceCreamYou/MainLoop.js