Re:Mario 3 recreated with CSS3 animations and media queries
by smickie on Thursday November 01, 2012 @11:37AM
(#4728051)
I might be able to answer this. Animating SVG is tricky, groups is a particularly issues because each element inside a group has to be animated as opposed to just animating the parent group tag (which causes a lot of issues with rotations in particular, you have to break out the trigonometry in javascript).
[ Parent
| on HN ]
Re:Mario 3 recreated with CSS3 animations and media queries
by jarek-foksa on Thursday November 01, 2012 @11:51AM
(#4728122)
I disagree, <g> element can be animated with JavaScript as easily as e.g. <div>. You just change the value of transform attribute. Rotations can be handled easily once you understand how matrixes work.