HTML and CSS Reference
In-Depth Information
BUILDING A BASIC PAINT
PROGRAM
The canvas still has a fair bit more in store for you. But
you've covered enough ground to build your first practic-
al canvas-powered program. It's the simple painting pro-
gram shown in Figure 6-11 .
The JavaScript that makes this example work is longer
than the examples you've seen so far, but still surpris-
ingly straightforward. You'll consider it piece by piece, in
the following sections.
Search WWH ::




Custom Search