Time
A very simple Time API provides some useful tidbits not included in the JS Date API.
To get the amount of seconds since the application has been launched, use now()
.
var now = time.now();
Additionally, you may retrieve the amount of seconds since last frame.
var dt = time.dt();