Creating SVG with Perl - Chapter 7 from Perl Graphics Programming | WebReference

Creating SVG with Perl - Chapter 7 from Perl Graphics Programming

Perl Graphics Programming

Perl Graphics Programming Book Cover

Chapter 7: Creating SVG with Perl

The SVG specification describes several more elements than those described in Chapter 6. In particular, the animation tags allow you to animate SVG elements, and the <script> element can be used to attach JavaScript code to an SVG document. This chapter starts with a sample SVG application that generates slide presentations from custom XML templates, and then develops two animation examples: a simple bouncing ball using the animation tags, and an animation graphic using JavaScript to dynamically reposition objects within the image. The remainder of the chapter presents tips for inserting Unicode strings in SVGs and a tutorial on using the XSLT transformation language to convert arbitrary XML formats into SVG.

Excerpt Contents


Created: February 12, 2003
Revised: February 12, 2003

URL: https://webreference.com/programming/perl/graphics/chap7/