title: How Google Doodles are animated
body: <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="https://i.stack.imgur.com/4UzBR.jpg" alt="enter image description here"></p>