gifler

    0.1.0 • Public • Published

    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> 

    Keywords

    none

    Install

    npm i gifler

    DownloadsWeekly Downloads

    2,040

    Version

    0.1.0

    License

    Apache-2.0

    Last publish

    Collaborators

    • themadcreator