Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/karbassi/canvas-animation-frame
- Owner: karbassi
- License: mit
- Created: 2020-04-08T15:52:04.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-21T16:49:45.000Z (almost 5 years ago)
- Last Synced: 2024-11-14T18:52:42.871Z (3 months ago)
- Topics: animation, canvas, fps, javascript
- Language: JavaScript
- Homepage: https://karbassi.github.io/Canvas-Animation-Frame/
- Size: 26.4 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
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.