the setup function

An artist paints on a canvas.
Similarly p5js draws its sketch on a canvas.

The setup function runs once at the start.
It can contain statements defining the canvas.

A canvas is created even without these statements.

The default canvas size is 100x100,
100 pixels right by 100 pixels down.

Initially the canvas is not visible.