Rafael
!Versionversion badgepackage !Bundle sizebundlephobia-badgebundlephobia !Downloadsdownloads badgenpmtrends !BSD-3-Clause Licenselicense badgelicense
!Test statustest status badgetest status !Release statusrelease status badgerelease status !Code Coveragecoveralls badgecoveralls !Maintainabilitycodeclimate badgecodeclimate
!PRs Welcomeprs badgeprs !Code of Conductcode of conduct badgecode of conduct
!Watch on GitHubgithub watch badgegithub watch !Star on GitHubgithub star badgegithub star !Tweettwitter badgetwitter
Rafael.js is a client side library for managing multiple tasks based on the
requestAnimationFrame
requestAnimationFrame loop.Why requestAnimationFrame
?
However, requestAnimationFrame
allows us to utilize the GPU, avoiding the performance bottlenecks of methods like setInterval
setInterval or setTimeout
setTimeout. requestAnimationFrame
is intended to allow JavaScript animations to utilize the computer's GPU so it can be handled at ~60fps (performance depends on the machine).