UNPKG

animation-chain

Version:

Animation Chain is a chaining library which utilizes the browser's `requestAnimationFrame` function in place of the usual `setTimeout`. This results in a much more accurate representation of time passed based on a delta time calculation. This can be usefu

4 lines (2 loc) 71 B
var Chain = require('./lib/animation-chain'); module.exports = Chain;