Q&A

Q1:Why doesn't SVG use a frame-based animation system?
A1: SVG's animation system is largely based on SMIL (Synchronized Multimedia Integration Language), another W3C recommendation used to define animation in XML syntax. By using SMIL as a foundation, SVG can handle a variety of possible animation techniques, including (but not limited to) frame-based animation.
Q2:Instead of begin and end attributes, why not use a keyTimes attribute for every animation and interaction element?
A2: keyTimes provides a great means for defining multiple actions within one element. However, the set animation element cannot use this attribute. Also, the syntax for the keyTimes and values attributes results in code that requires some deciphering on the part of ...

Get Sams Teach Yourself SVG in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.