To view this content, you need to install Java from java.com

This applet uses a nested loop to draw the squares.
Use your mouse to play with the squares.
Use the slider at the bottom to modify the square size.

Source code: Week3_squares

Built with Processing