Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/swashcap/jquery-canvas-animation

Easy canvas image sequence animation wrapped in a jQuery plugin.
https://github.com/swashcap/jquery-canvas-animation

Last synced: 5 days ago
JSON representation

Easy canvas image sequence animation wrapped in a jQuery plugin.

Awesome Lists containing this project

README

        

# jQuery Canvas Animation

_Easy canvas image sequence animation wrapped in a jQuery plugin._

## Plugin Use

Use the plugin like so:

```js
$('#my-canvas').canvasAnimation({
frameInterval: 1000 / 60,
images: [
'/path/to/image-001.jpg',
'/path/to/image-002.jpg',
'/path/to/image-003.jpg',
// ...
'/path/to/image-100.jpg'
],
imageRatio: 640 / 320,
});
```