Week 05


  • Homework & Game Pitch Review
  • Media: Loading Images and Fonts and displaying them on screen.
  • Media: Fonts, More about color.
  • Functions: How to write you own!
  • Function: Passing Parameters!

Due Next Week

  1. Collage Engine
    Use what you’ve learned about loading media elements (images/svgs) to create a collage engine that can generate new, unique collages. It can be running constantly like a kaleidoscope  or you can refresh/randomize it every second. Remember that you can load images with transparency, or mask them in Processing. What its he relationship between the media you chose, and how it moves/responds? Consider restraining yourself to one type of imagery — For example, only using Earnst Haeckle’s Art Forms in Nature.
  2. Rubber Stamp
    Design a graphical symbol/totem/emblem/figure. It could be a character, person, furniture, &c. Let’s call this your “rubberstamp”. Then write a function, which draws the item (rubberstamp) at the location specified by the arguments, px, py.

    void placeRubberStamp (float px, float py){ 
         // what goes here??

    Using the mousePressed() event function, create a program (with no background) where each location that the use clicks is “stamped” with your drawing. Where will your function be called in order to do this?

  3. Parameterized Form
    Use the symbol/item you drew in “Rubber Stamp”. Add at least 3 parameters to the function so the item can be drawn differently based on the selected parameters. Think of the parameters as “knobs” that control how the shape appears. In a [minimum] 800×800 window, a grid of your rubber stamps using a nested for loop. To show the differences possible, pass in randomized values for the parameters. Use noLoop() to turn off updating so your items don’t change repeatedly.
    Confused? Check out this demo.
  4. Project 2: See project brief for instructions.
    Read: (GSwP) Ch. 8,  (Blue Book) Input 3, Structure 3, Synthesis 2, Typography 1