020 -- Motion and Mouse (Two Options): Due Tuesday, 9/20
Assignments numbered #02X are due on Tuesday, 9/20. For Exercise 020, please complete EITHER Option A (Order-Chaos Composition) OR Option B (Pong/Breakout). You are not asked to complete both.
Option A: An Order-Chaos Composition. Create a dynamic (e.g. time-based) composition whose degree of order (or chaos) is parameterized by the horizontal position of the mouse. In other words, use the mouseX as a "knob" to adjust the composition's entropy, proportional to cursor values ranging from 0 (most ordered) to width (most chaotic).
Option B: Pong/Breakout. Pong is one of the first computer games -- a fitting place to begin an examination of the relation between graphics and interaction. Create a version of the game Pong. For some help, you can
refer to these examples: bouncing,
collision, an example Pong system in Processing. If you wish, you can extend your Pong-system so that puck collisions or movements affect the game's environment (e.g. as in the arcade game Breakout).
You may interpret the core Pong concept freely (for example, you might prefer to make a system with simulated gravity, such as the game "Tennis for Two" created in 1958 ). While 1-player and 2-player versions are options available to you, feel free to make a 0-player system with an agent that learns how to play Pong on its own. The only requirement is that your system must keep score.