Render GIF frames to canvas
JavaScript HTML CSS CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gh-pages
site
src
.gitignore
README.md
gifler.bare.js
gifler.bundle.js
gifler.min.js
metalsmith.json
package.json

README.md

Gifler

Animate GIFs in canvas.

  • Loads GIF contents with XHR
  • Decodes GIF frames and pixels with omggif
  • Prepares canvas buffer for fast rendering
  • Animates each frame and compensates for render delays
  • API enables fully custom canvas rendering

Examples & Docs

http://themadcreator.github.io/gifler/

Usage

<canvas class="example"></canvas>
<script src="gifler.min.js"></script>
<script>gifler('image.gif').animate('.example')</script>

License

Apache-2.0