4 ms·
SMIL is the SVG animation markup. Sadly very few people have every used it. SvgWow.com has a bunch of great examples like: http://svg-wow.org/camera/camera.xhtm
by twistedpair 13y ago
SMIL is the SVG animation markup. Sadly very few people have every used it. SvgWow.com has a bunch of great examples like:
http://svg-wow.org/camera/camera.xhtml http://svg-wow.org/camera/camera.xhtml
- Groxx 13y agoThere's an awful lot of Javascript backing that animation, I can't see where it's being turned into SMIL. At the very least it's definitely not static on the page, since the definition of the animation is entirely in JS: http://svg-wow.org/camera/camera.js http://svg-wow.org/camera/camera.js Does it write SMIL somewhere near the end and then let it run, or does it just run in JS? Skimming through I couldn't tell, but I don't really have time to read more closely.
- twistedpair 13y agoSome JS is still used, certainly. However you can define the animation steps, timings, recursion, panning, zooming and many other facets purely in SVG/SMIL. When I wrote a financial world map visualization and drill down tool, 95% of the animation logic was in SVG/SMIL. The JS just called start/stop on the various animation elements.