HTML and CSS Reference
Figure 7.7. RaphaelJS is capable of creating astounding graphics in all modern-day browsers.
RaphaelJS uses SVG and its predecessor Vector Markup Language (VML) to create vector
graphics. It also has great plug-ins that calculate complex math for pie charts and other
data visualizations. RaphaelJS's competitor is svgweb, which uses Flash to render SVG
elements. If you don't need to support older browsers, d3.js ( http://d3js.org ) is a good lib-
rary to consider.
fallback library to write your game. We'll walk you through the creation of a basic SVG
Then you'll develop shields to protect players from enemy fire. As a final step, you'll set
up the UFO flock, which is a bit complex because it requires you to create 50-plus objects.