O'Reilly logo

Building Web Applications with SVG by Jon Frost David Dailey and Domenico Strazzullo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Motion and Interactivity

Neither love nor fire can subsist without perpetual motion; both cease to live so soon as they cease to hope, or to fear.

François VI Duc de La Rochefoucauld

Although SVG can be a static image format suitable for illustrations, it was designed from its inception to be interactive and dynamic. There are two very important and radically different approaches to this dynamism: declarative animation and scripting. This chapter first introduces the powerful model of declarative animation that’s used by SVG, and then introduces scripting. Scripting will come easiest to those readers who already have some programming experience; therefore, the treatment here ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required