Drawing Multiple Things
The last of the topics under “Drawing Basics” we are going to look at is drawing multiple things. Up until now, we were engrossed in the details of drawing just a single thing. That had its own set of fun little details for us to learn, but in most practical situations, you’ll never draw just a single thing. You will draw many MANY things all inside the same canvas
element, and in this tutorial we will look at the beginPath
method and learn a few other tricks along the way to make all that possible.
Onwards!