Created
March 11, 2016 20:29
-
-
Save dedosmedia/dadd807a05b55aa7b03f to your computer and use it in GitHub Desktop.
Rotar SVG con Snap.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var animatingSvg = Snap('#wheel_svg'); | |
var wheel = animatingSvg.select('#wheel'); | |
wheel.animate({transform: "r"+[7200,205,210]}, 2000, mina.easeinout); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment