Project 3.2: Pixels
Create a program that draws randomly colored boxes at different scales

REQUIREMENTS

Create a program that draws a grid of randomly colored rectangles on the screen each time the user clicks the mouse.

FAQ / Tips

Step by Step

What colors can I use?

My mousePressed() isn't doing anything!

EXAMPLE: RUNNING PROGRAM

Click here to download a running version of the program. 

Start

Minimum Size

Maximum Size

Examples with Alternate Colors