HelpFor initialisation:init({width: 120, height: 90});
To draw, the context object is ctx .
You can use all html5 canvas library.
To clear the image: clear();
To a frame to the animation: addFrame({delay: 1000});
|
Input: JavaScript code describing your animation |
Output: Animated GIF |