rafael

rAFael.js is a simple scheduling library based on the requestAnimationFrame loop.

  • rafael

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
rafael
5.0.22 years ago8 years agoMinified + gzip package size for rafael in KB

Readme

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 All Contributors !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 requestAnimationFramerequestAnimationFrame loop.

Why requestAnimationFrame?

However, requestAnimationFrame allows us to utilize the GPU, avoiding the performance bottlenecks of methods like setIntervalsetInterval or setTimeoutsetTimeout. 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).