Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/t-mullen/gif-canvas
Easily draw GIFs to canvas.
https://github.com/t-mullen/gif-canvas
canvas gif
Last synced: 8 days ago
JSON representation
Easily draw GIFs to canvas.
- Host: GitHub
- URL: https://github.com/t-mullen/gif-canvas
- Owner: t-mullen
- License: mit
- Created: 2018-06-18T19:47:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-18T19:48:37.000Z (over 6 years ago)
- Last Synced: 2024-11-25T12:35:22.708Z (about 2 months ago)
- Topics: canvas, gif
- Language: JavaScript
- Size: 70.3 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gif-canvas
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
Easily draw GIFs to canvas!
## Install
```
npm install --save gif-canvas
```
or
```html```
## Usage
```javascript
var gc = GifCanvas('/my.gif', {
fps: 30
})
gc.canvas // Gif is automagically drawn here!
```## Thanks
This module is a wrapper around [pixel-gif](https://github.com/59naga/pixel-gif-).