week 3: your initials
- Rachelle Vassoler
- Sep 21, 2022
- 1 min read
for this assignment, we first had to create a graphic of our initials in processing. Then, we were asked to use code to make the colors of our shapes change depending on where the cursor is on the screen or if the mouse was pressed or not
we were introduced to new codes and used them to create the drawing
line(); ellipse();
strokeWeight(); if and else functions
strokeCap(); mousePressed
arc(); mouseX, mouseY
I first did a couple sketches of what I might want my design to look like, I played around in processing with different shapes and came to a composition I liked.
I added code so that the colors would change depending on the location of the mouse. Then I made it so that a different letter would appear depending on whether the mouse was pressed or not.
my code:
finished project:




Comments