Helps setup raf based loops
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
.npmignore
LICENSE
index.js
index.mjs
package.json
readme.md
test.js

readme.md

Helps setup raf based loops

Setup

# Fetch latest from github
npm i thewhodidthis/animation

Usage

import createLoop from '@thewhodidthis/animation'

// Logs frameId, elapsed time
createLoop(console.log).start()