30. Looking Outwards. Due Wednesday 9/21.
Once again, identify three interesting computational/new-media/interactive/emerging-media projects out in the world. In a blog post labeled with the LookingOutwards category, embed a video or image of the projects, and write 100-200 words about what you find interesting about them. Critique the projects. Be sure to list the author’s name(s).
31. Different Flavors of Buttons. Due Monday 9/26.
Visit “Painting with Interactive Pixels” (PIP) by Dag Svanaes. (Caution, this applet is very old (1997!) and may not work properly in some browsers.) In a single interactive applet with a gray background, create ten square “buttons”. In these ten regions, implement all ten of Dag’s interactive paint types. Observe how several of his paints are irreversible, while others are reversible. Note: you will need to use both the mousePressed() and mouseReleased() event handlers. Label your buttons using Dag’s icons, e.g. ⇊, ⇈, etcetera.
- Extra Credit 1. Use circles instead of squares. Only clicks inside the circle should have an effect. Hint: use Ancient Greek technology devised more than 2000 years ago, or, if you prefer, the dist() function.
- Extra Credit 2. Implement a general point-in-polygon test so that the buttons can have any shape. Code fragments for the point-in-polygon test are easy to find, and you shouldn’t need to write this yourself; in a comment in your code, be sure to cite the source URL of your implementation. Make and test some unusually-shaped buttons.
32. A timed fuse and some fireworks. Due Monday 9/26.
Make a fuse onscreen that takes exactly 5 seconds to complete its timer. At the end of the timed 5 seconds, trigger an interesting event — like, you know, fireworks. Does it have to be a “fuse”? No, it could be a progress bar, or an ice cube melting, or a balloon inflating, or something. Does it have to be fireworks? No, it could be a gun showing the word ‘Bang’, or a balloon popping, or a volcano erupting, etcetera.
- Extra Credit. Use an array (which we haven’t yet covered in class) to create a group of objects whose movements are triggered by the event. For example, particles in a fireworks display.
33. Breakout Game Mod. Due Monday 9/26.
It’s time to get your hands dirty with some freestyle experimentation.
In 2007, Steph Thirion developed a “six hour long workshop with the objective of showing the participants that it is not required to understand code to experiment and play with it. […] Although they had no experience in coding, the task of each participant was to make a mod (modified version)” of a Breakout game written in Processing. Now it’s your turn. Get deep into this code and make it yours! Add, remove, or modify anything you please. It does not need to still be a game when you’re done messing with it.
- Steph’s Processing Breakout source code is here: http://www.trsp.net/teaching/gamemod/gamemod_breakout_source_en.zip
- Steph wrote about the workshop here: http://www.trsp.net/teaching/gamemod/
- More information about this assignment is at CreateDigitalMotion.
Note that the project has several PDE files, each of which gets its own tab in the IDE. Be careful to upload all of your source code in the .zip to OpenProcessing.