Exercise 3

I use the frameCount command to make the shapes change. I dont know why it speeds up when it has both circles and rectangles, but its cool.

play video
see code
Exercise 4

I created an array of triangles that are bound to the upper left corner. The other points fall until they reach the limits of the box, then they reset. I had hoped the rectangle would bounce around in an arcing shape, instead it randomly changes directions like a roomba.

play video
see code
Project 2

In this project, i used a Fibonacci Sequence at the center of the image which I set to rotate sporadically. Originally I had hoped to find a use for recursion in my code, but it did not work for what I wanted while the spiral did. I like the fact the whole piece feels like an old screensaver. The other aspects include two arrays, one in the green objects along the bottom the other in the bouncing balls. About 500 frames in, the bubbles in the background switch from green to purple. At about 700 frames in, the green objects are allowed to wiggle on their own.

play video
see code