Click to reopen instructions.

The project below contains a single script that draws art in the style of Josef Albers's nested-squares paintings: a for loop counts down from 7 to 1, and on each pass sets the pen to a random hue, sets the pen size and the move distance from the loop variable, and draws one fat stroke — so the strokes stack up into nested colored bands.

Run the script and read through how it uses the loop variable i. Then experiment: could you change the sizes or colors to make the picture more interesting?

Your work autosaves (and you can use the Save button); earlier versions are available from the Revisions dropdown.

Mini Albers

Revisions: