Skip to content

Using javascript canvas to draw delightful animated gifs!

License

Notifications You must be signed in to change notification settings

jesse-fox/draw-gif

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

draw-gif

Use canvas to draw an animated gif

Example Gif

Usage

Nothing needed to install, just open the index file in a browser. Drawing done entirely in script, see examples.

Shapes are re-drawn instead of re-using canvases, in order to more easily alter and animate attributes like size or color

Create a new jsgif with a draw function. When you are ready to have your animation saved as a gif, give it the option "compile": true

A few helpers are available to more easily tweaks shapes in your canvas, just pass in an object with options as attributes.

Thanks

Thank you to BrowserStack for providing free testing for this project, just for being open source!

BrowserStack

About

Using javascript canvas to draw delightful animated gifs!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published