HTML and CSS Reference
In-Depth Information
3
Dynamic graphics
This chapter covers
Using the
<canvas>
element to draw shapes, text, and images
Transforming existing images with
<canvas>
Using Scalable Vector Graphics (SVG) in your web pages
The strengths and weaknesses of
<canvas>
and SVG
Cross-browser support
In this chapter, you'll learn about
HTML5
's facilities for dynamic graph-
ics—graphics that can change in response to user input, data, or simply
time passing. This could include charts representing network activity or
the location of people on a map.
This chapter, especially the parts to do with the
<canvas>
element,
will make a lot of use of JavaScript. If you're not familiar with
JavaScript, you should check out appendix D before proceeding.
73