Animating With Snap
June 30, 2015•67 words
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
);