If you look at the code below youll see that Ive used the scale method twice with equal parameter values for the second and third spirograph. If you give each canvas an id attribute, you can access them just like any other element. The drawing context is where all the drawing methods and properties are defined. You wont notice the performance degradation in simple examples like drawing a few lines and transforming an image, but youll see it right away once you start doing canvas-based animation and other crazy stuff. This starts by calling beginPath() to start a new shape path. When a layer is moved around on the . To use it, include the following