Animating With Snap

March 02, 2015

Yesterday, we created some circles with Snap.svg. For today I wanted to try and see if we can move those circles around. If you reference the Snap Animation Docs there is .animate and .bounce give us that moment and that little bounce at the end of the animation. In the end all we had to do is add this one line.

circles.animate({ transform: 'r360,150,150' }, 3000, mina.bounce );

John SiwickiWritten by John Siwicki who lives and works building interesting things. You should follow him on Twitter