HTML and CSS Reference
In-Depth Information
Before you begin, download the topic's complementary files from ht-
tp:// . Also, test-drive the game at
app/ch6/ to see all of its cool features in action.
Each drawing you create is layered on a simple graph system inside the <canvas> tag, as
shown in figure6.3 . At first glance, the graph appears to be a normal Cartesian graph. Upon
further investigation, you'll notice that the starting point is located in the top-left corner.
Another difference is that the y-axis increases while moving downward, instead of incre-
menting upward.
Search WWH ::

Custom Search