This tool enables to create GIF animations from simple Javascript code. See https://francoisschwarzentruber.github.io/gifedit/
- Write Javascript code (see below)
- Click on the
Generate GIFbutton to obtain your GIF animation.
For initialisation:
init({width: 120, height: 90});
Then just draw, using the 2D context object is ctx and using the HTML5 Canvas API.
For clearing the image, call clear();
To a frame to the animation, call addFrame({delay: 1000});
That is it!
This tool is based on https://github.com/jnordberg/gif.js

