Created
August 24, 2017 14:23
-
-
Save bendc/9fcd54e3f78e371ff73253e11aa2a91a to your computer and use it in GitHub Desktop.
rAF tutorial: basic loop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const tick = now => { | |
requestAnimationFrame(tick); | |
}; | |
requestAnimationFrame(tick); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment