Why SMIL?
- Like HTML and SVG -- a declarative markup that leaves
details up to the viewing software
- For designers and
programmers
- interoperable with JavaScript
- runs on many mobile devices that don't have scripting
engines
- Describe what is to be done: change this object along this path, varying its size and color as it moves.
- No need to guess dt such that dx and dy can be updated
smootly on client's screen
- No need to centralize large setTimeout loops for animations
- No worry about cross module variable contamination
- Less development time (10 x less for authors).
- Examples galore.
- maintainability of code (12 lines is easier to maintain
than 120 lines)
- same sort of syntax as other SVG modifiers: filters, gradients, clip-paths, masks, patterns, replicates
- modularity (animations are all separable)
- behavior resides with the thing that is behaving (improved
semantics and accessibility)