How Google Doodles are animated
<p>I always wonder how these doodles are animated. Can someone give a detailed description of how these are animated. I know it's using JS to animate an image. But I would like to know how it interacts with the user clicks and timing, and it is also cross browser compatible which amazes me.</p>

<p><img src="http://i.stack.imgur.com/4UzBR.jpg" alt="enter image description here"></p>
