Re:Doubling SVG Frame Rates at Khan Academy
by spicyj on Wednesday November 26, 2014 @08:21PM
(#8665542)
Historically, our interactive diagrams rendered to VML for IE8 support in addition to the SVG used by modern browsers, so we couldn't use any SVG features that aren't shared by VML. We no longer support IE8, but our code is still mostly built around this assumption so it's nontrivial for us to take advantage of any native animation support. (In addition, these aren't animations per se; rather they're cases where we move elements of a diagram in response to a touch interaction, which (I believe) requires JS to power it regardless.)
Re:Doubling SVG Frame Rates at Khan Academy
by progers7 on Thursday November 27, 2014 @01:14AM
(#8666199)
SMIL is not perfectly fluid. SMIL is not inherently hardware accelerated. SMIL animations are slower than the same animations driven from JS in all major browsers except IE which doesn't support SMIL but does support JS. As the OP showed, JS animations are the way to go for SVG.
http://www.w3.org/TR/SVG/animate.html