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.
Create two of these labeled 4.1 and 4.2.