Creating Visual Rhythm in Processing

I’m teaching Processing to art students at UCSD and the course’s professor has basically asked them to create visual rhythm. I made a few sketches to show a simple way in which this might be accomplished.

shape_function

#1 shape_function.pde
(download text or HTML formatted source)
This sketch creates repetitive shapes using a for-loop in a user-defined function.


rhythm

#2 rhythm2.pde
(download text or HTML formatted source)
A simple sketch to illustrate how things can appear to move with independent rhythms.


rhythm

#3 rhythm.pde
(download text or HTML formatted source)
A slightly more involved sketch that combines the two above.