Animation

One of the most common complaints users have of SVG is its performance when handling animation. The Adobe SVG Viewer, for one, calculates the plug-in screen's redraw area based on the bounding box of the edges of all moving or changing objects. Thus, if you create an SVG that has movement in all four corners of the screen, the entire plug-in screen is forced to redraw for every frame of the animations. As the plug-in has not yet been optimized for display, animation performance drops dramatically when large areas are forced to redraw.

It is important to remember that SVG has not yet reached the maturity of fifth-generation Flash. Rather, vendors like Adobe and IBM have worked to create viewers that can match the specification's requirements ...

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.