For my first assignment, we needed to create circles moving in a diagonal line, from left to right. If we could, get the circles to loop.
From my previous assignment and having made the animated rain, I used “if” statements and variables. As the circles move from left to right, they +1 to the y-axis and -1 to the x-axis. When the circle reaches the bottom of the screen, x-axis becomes 500 once again (like its starting variable).
Circles Moving Diagonally from Gloria Harihar on Vimeo.
Second assignment: Create different strokeWeight as the mouse moves across the screen. Using pmouseX, pmouseY, mouseX, & mouseY, I calculated the absolute value of pmouseX and pmouseY. That determines the stroke. Color is set to random colors of blue and green.
strokeweight from Gloria Harihar on Vimeo.
Third: Created Zoog in accordance with the textbook. His legs move in the opposite direction of the mouse because of pmouse values.
Moving Legs with Zoog from Gloria Harihar on Vimeo.
I created another mini character in accordance with zoog. His legs and eyes move using the “if” statements.
M&M Zoog from Gloria Harihar on Vimeo.
For this assignment, I created Rain and a bucket, of sorts, to catch the rain.
For the rain, I used processing.flosscience.com/processing-for-android/macul-2012/make-an-object-move . Because it was still early in the course, I didn’t understand the second part of the code and just used what I understood. I created a rectangle that would add pixel increments to give the appearance of dropping rain. The increments determine the speed at which the rain falls. I used ‘if’ statements to create the rain after declaring several rain variables.
For the bucket, I created a layer behind the rain and a layer on top of the rain. It gives the appearance that the rain is going into the bucket.
Make Me Move from Gloria Harihar on Vimeo.
The second assignment is to recreate one of Mondrian’s work at half the size of the original image.
For this assignment, I made the background white. I then drew in the color rectangles with a strokeWeight(8).
After finding the right dimensions and placement for the rectangles, I created the black likes with a heavy stroke.