You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm sure this has nothing to do with dynamics.js (which is great btw). I've found that when rotating an svg, if the rotation is a multiple of 360 it won't rotate at all. In some cases, when the rotation is say 270 degrees, the rotation will actually happen in reverse. I'm thinking svgs have some funky polar coordinates , but I haven't found any documentation explaining the issue.
I've gotten around the issue by using css transforms, although I'm not sure this is ideal.
I'm sure this has nothing to do with dynamics.js (which is great btw). I've found that when rotating an svg, if the rotation is a multiple of 360 it won't rotate at all. In some cases, when the rotation is say 270 degrees, the rotation will actually happen in reverse. I'm thinking svgs have some funky polar coordinates , but I haven't found any documentation explaining the issue.
I've gotten around the issue by using css transforms, although I'm not sure this is ideal.
I've illustrated the behavior here:
http://codepen.io/ipetepete/pen/doZqxK
I just wanted to report my findings for others. If anybody knows how to make svg rotation transforms work properly, I'd love to hear how.
The text was updated successfully, but these errors were encountered: