Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Manually Set FPS in ImpactJS
// This is how to manually set the frames per second in ImpactJS.
setTimeout(function() {
var fps = 60;
window.setInterval(, 1000/fps );
}, 0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment