Creating and Drawing on an HTML5 Canvas using JavaScript

CodeDraken
codeburst
Published in
13 min readNov 14, 2019

--

Let’s explore what the canvas is and draw some shapes.

Prerequisites / Info

  • This is part of the JS Game Dev Series
  • You should have some knowledge of JavaScript — I will not explain irrelevant syntax such as for-loops
  • Knowledge of ES6 Classes is helpful but not required
  • Basic math/geometry knowledge
  • Basic artistic skills

Starter Code

--

--