@nathanfaucett/request_animation_frame

requestAnimationFrame for the browser and node.js


Keywords
request_animation_frame, request_animation_frame.js
License
MIT
Install
npm install @nathanfaucett/request_animation_frame@0.0.2

Documentation

requestAnimationFrame

requestAnimationFrame for the browser and node.js

var requestAnimationFrame = require("@nathanfaucett/request_animation_frame");

requestAnimationFrame(function(ms) {
    console.log(ms);
});