ICM Week 4: Functions

This week I was experimenting with functions. I obviously wanted to complete the assignment but it seems like a bit of a step back after I was fairly successful in my quest to orient objects last week.

In any case, I created a simple program to make flag-like thingys. Each flag has parameters to determine the area of the blocks, the colors, and location on screen. There’s some really simple math going on in the color variables in order to give each flag a range of similar, or at least complimentary, colors.

Running the sketch looks like this…

Screen Shot 2014-09-30 at 11.04.05 AM