Canvas Drawing Basics
Well, we got really REALLY close to actually drawing something in the previous article. Yes, you copied and pasted some code to get a line to appear, but that doesn’t really count since we didn’t look at why the code works the way it does. Let’s fix that in this article where we will both take a look at what exactly drawing on the canvas
entails and meet a lot of the cohorts responsible for getting pixels to the screen.
Onwards!