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.

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

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

#3 rhythm.pde
(download text or HTML formatted source)
A slightly more involved sketch that combines the two above.
If this post is interesting to you, subscribe to this site.
Posted: April 16th, 2009 under scripting.
Comments: 1
Comments
Comment from rob
Time: May 31, 2009, 8:17 pm
When doing this kind of animation stuff, I guess you could also use the millis() function – which returns the number of milliseconds since the sketch started running – instead of keeping track of the frame count yourself.
Write a comment