3 ms·
I know this is about static svg images, but as a curiosity, about a year ago I did a small experiment with svg animations. You can see it here: http://et.vaa
by scoopr 14y ago
I know this is about static svg images, but
as a curiosity, about a year ago I did a small experiment with svg animations. You can see it here:
http://et.vaan.osaa.fi/ http://et.vaan.osaa.fi/
Translation: "You just can't" (as in, able, skilled)
To my surprise, it actually works on iOS devices too, except that it doesn't automatically refresh the screen. That is, after zooming it was rendered in a different position than before but not animated. As a hack, I force it to redraw with css animations, continously scaling it slightly (less than 1%).
Reading my comments, it seems ie9 didn't scale svg content according to css sizes, but drew them in "original" size.
Writing the smil animation declarations was pretty much trial by error, didn't find any practical tooling support.
I did the original image in inkscape, and then hand edited the xml for the animations. Rotating things was tough, because inkscape didn't leave the element/group centers in any predictable place, so I had to guess good rotation centers.
- ajross 14y agoNice. FWIW: it's flawless under Chrome for Android on my GNex too.