Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/karbassi/canvas-animation-frame

Standalone canvas frame limiter. Set the frames per second (FPS) and let it run.
https://github.com/karbassi/canvas-animation-frame

animation canvas fps javascript

Last synced: 27 days ago
JSON representation

Standalone canvas frame limiter. Set the frames per second (FPS) and let it run.

Awesome Lists containing this project

README

        

# Canvas Animation Frame

Standalone frame limiter. Set the frames per second (FPS) and let it run.

## Example

```js
const animation = new AnimationFrame(10, () => update());

function update() {
// do something
}
```

See the [example folder](./example) for a fully working example.