You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Read and do the exercises in the following chapters. Code along in Processing-- do not just read the book!
In "Learning Processing" by Daniel Shiffman (Second Edition, 2015):
Chapter 3: Interaction (Pages 33-45)
Chapter 4: Variables (Pages 49-65)
Short Study #2: Responsive Drawing
Create a responsive drawing machine in Processing involving user input. The concept/theme is up to you.
You may use the previous assignment as a starting point, or begin a completely new sketch.
The drawing must react to the mouse in some way, and must include the following:
Use of variables
Use of keyPressed() event function-- to clear/erase the background of your sketch
Use of mousePressed() event function-- what it does is up to you
Attention to visual detail (composition, color, line weight, etc.)
A title for the drawing (add as a comment at the top of your sketch)
Hint: See p.42 in Learning Processing for description of keyPressed() and mousePressed() event functions.