Week Two Loop Lab - Patterns

1) Install Processing again. You remember how, right?  Run it from your itsguest home directory.

2) Make a pattern across your display window. Some possible ideas:

- Regularly (or irregularly!) spaced points or polka-dots - Vertical and horizontal lines to make crosshatching - A chessboard - Diagonal crosshatching or stripes - Concentric circles, curved lines, or other shapes

Note that you can create one still pattern if you use a loop of your own, or an animated creation of the pattern if you take advantage of draw's natural looping.

Also consider using a variable to represent the size of your display window and making your pattern size based on that variable. This way you can easily change the size of your picture just by changing the value of one variable.

3) Add color to your pattern. You can simply use shades of grey if you like.  You could also consider having the color (or other aspects of your pattern) be interactive by using the values mouseX and mouseY.  From the Processing documentation,

The system variable mouseX always contains the current horizontal coordinate of the mouse. The system variable mouseY always contains the current vertical coordinate of the mouse.

4) If you still have time, add some audio to accompany and complement your visualization. Install Minim. It should go in the Processing folder in your home directory too.

Some results:

Jeremy (interactive dots)

Joe (angled lines)

Joshua (probabilistic circle)

May (concentric circles)

May (random polka dots)

Michael (smileys)

Tae Hun (a clock)