Create a nested for loop. Use it to draw shapes to the canvas (in a grid, or otherwise).
Add another factor to the for loop to change drawing parameters iteratively to distort the grid, change the color, or some other variations.
Chapters 3.
by