Shapes

Size

The canvas is quite small. Use the following statement in the beginning of your sketch to make your canvas bigger:

size(500,500);

The statement calls size-function, which sets the size for the canvas. Size-function needs two parameters. The first one is the width of the canvas and the second one is the height.

Reference
size
rect