HW 4, due Mon, Feb 25
Use Processing to create sketches that do the following.
- [30 pts] Display an image in a new and different manner, using or drawing its pixels in some way other than simply as rectangles. In particular, the display should be dynamic or interactive (or both). Examples from class include balls for the pixels (dynamic) and randomly-colored lines drawn in the pixel colors (interactive).
- [40 pts] Perform a theme and variations. The theme part of the window has an interactive sketch, while the variation parts display modified versions of it. The theme part can be whatever you like (even something from class or an earlier homework), but of course it should respond to user input. There should be at least two variation parts, each of which uses pixel-level operations of your own design to produce an image modified from the theme part. Explain the variations and how the pixel-level operations achieve them.
- [30 pts] Allow interactive manipulation of how a movie is displayed, e.g., zooming near the mouse, or changing colors or blending with something else proportionally to mouse position.
Comment your code to describe where and how you addressed each requirement.
Use reasonable and consistent indentation and whitespace (along with comments) to make the source clear and comprehensible for another human reader (i.e., both you and your grader). Maximum credit is given for nicely readable code. Turn in your sketches in the usual way:
- Electronic
- Using Blackboard, turn in before the start of class a zip file for each sketch. To produce a zip file, use the menu "Tools" / "Archive Sketch". In Blackboard, go to Assignments tab, select HW 4, and then use the "complete assignment" option. Do not use the digital dropbox.
- Hardcopy
- Print out and turn in at the start of class a printout of each sketch. Processing has a print command in the "File" menu. Be sure your name is on the printouts.