Conclusion

Tying up something we started with, drawing on the canvas is really not that much different than drawing on a piece of paper. The real-life gestures and movements you perform is replaced by the near-exact equivalent in the digital world defined by a few lines of JavaScript. This similarity will carry over to not only simple examples such as this, but you’ll see parallels in even the more advanced canvas-related scenarios as well.

Get hands-on with 1200+ tech skills courses.