gifler
v0.1.0
Published
Render GIF frames to canvas
Downloads
6,606
Readme
Animate GIFs in canvas.
- Loads GIF contents with XHR
- Decodes GIF frames and pixels with omggif
- Prepares canvas buffer for fast rendering
- Frame-by-frame animator
Usage
<canvas class="example"></canvas>
<script src="gifler.js"></script>
<script>gifler('image.gif').animate('.example')</script>