Prerequisites
To try these tutorials yourself, first setup your project following the steps in getting started
There are many great (canvas) drawing libraries to choose from to create graphics in the browser. To make these tutorials clear and un-opinionated, pseudo functions are used to illustrate the examples in these tutorials. For example,
whiteDot(x, y), orangeCircle(x, y)
, ... Thex
andy
arguments represent the coordinates of each point on the grid.