Introduction
In this article I’ll show how to use jsTimers-rAF, a library that makes use of RequestAnimationFrame
simply as the use of setTimeout
or setInterval
function.
In github there’re some examples of use, but now I’ll show how to use the library to change the background on the page, as a div, or what else you can imagine to do with requestAnimationFrame
. Continue reading Use RequestAnimationFrame with setTimeout-like function