HW 3, due Fri, Feb 1
Use Processing to create a sketch or sketches that do the following.
- [30 pts] Create a "font" of at least 3 different letters, drawn with the shape commands. Use at least one curveVertex or bezierVertex, along with regular vertices. Whether to fill or stroke the letters (or both) is up to you. Define your own functions to package up the letter-drawing commands. You may provide a static sketch demonstrating the letters, or combine your solution to this problem with the interactive sketch for problem 3 below.
- [30 pts] Demonstrate at least two periodically oscillating behaviors (e.g., colors, sizes, positions) over multiple objects. This sketch can be as abstract or concrete as you like, but obviously it shouldn't just stick together sketches from class. A concrete example would be a solar system, with some planets circling a sun, and the fill of the planets getting darker and lighter according to their daily schedules.
- [40 pts] Allow someone to interactively type in the window letters from your "font", at positions, sizes, and angles specified via keyboard and mouse input.
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 3, 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.