HTML5 Canvas Stop Animation with KineticJS

To stop an animation with KineticJS, we can use the stop() method.  To restart the animation, we can again call the start().

Instructions:Click on "Start" to start the animation and "Stop" to stop the animation.

Open in new window

Code Editor

Modified on April 9th, 2013 by Eric Rowell
comments powered by Disqus