I was wondering how controls are added to an animation. I am currently building a js animation using Raphael javascript library. I know that you need to add a button to your html page.
<button id = "startButton" type="button">Start<Start></button>
But how would you link this to your animation to play/replay...