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 5: Conditionals (Pages 67-91)
Chapter 6: Loops (Pages 93-113)
Short Study #3: Uncertain Patterns
Create a responsive drawing machine in Processing involving user input, conditionals, and randomness.
The concept/theme is up to you.
You may use the previous assignments as a starting point, or begin a completely new sketch.
The drawing must include the following:
At least one conditional statement using if, else if, and else
At least one for loop that creates a pattern of some kind
Use of the random function
At least one rollover response (hint: see pages 75-83 in Learning Processing)
Use of at least two of these event functions: keyPressed(), mousePressed(), mouseMoved(), mouseDragged() *
Attention to visual detail
Include as a comment at the top of your sketch: your name, title, any instructions for the user
*read about mouseMoved() and mouseDragged() in Processing Reference