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).
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.
Third: Created Zoog in accordance with the textbook. His legs move in the opposite direction of the mouse because of pmouse values.
I created another mini character in accordance with zoog. His legs and eyes move using the “if” statements.