Assignment 04 - adefelice/DDA617_Languages_FALL2017 GitHub Wiki
Assignment: Week #4 (9/20)
Read and Do:
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
Due by the beginning of our next class.