ICM Week 3: Functions, ‘For Loops’, and ‘If’ statements

This week it got serious. We were using a bunch of Processing methods – if statements, loops and functions – which at the time was a big deal to me, since in practice I still didn’t really understand how to put it all together.

But, I found some residents to help me out and explain how things worked. They also introduced the ‘Switch’ statement, a more efficient ‘if’ statement, which later came in handy for my midterm project. So, while the finished product looks the same as last week, when you check out the code you’ll see that the two sketches are very different.

ICM Week 2

Color bars, Week 3: Switch, Ifs and For Loops

(Written Oct 29, 2009)

Leave a Reply

Your email address will not be published.