extend

Try extending the modular checkerboard into one that cycles between three colors. Your solution must be modular, i.e. it should work for any window and cell dimensions.

Here is my solution.

refine

Modify the applet where the square moves towards the mouse clicks by making the square color gradually go back to yellow when it stops moving. You must do this without creating any new variables.

Here is my solution.

mimic

Recreate the following composition. You can use this interactive version if you need a hint on how to layer the shapes.

Processing Workshop

Elie Zananiri
Alberta College of Art + Design
3-5 April 2008