Processing Workshop (Part Three)

notes

In our third Processing lecture we were shown a different type of loop. A ‘for loop’ only takes up one line of code and is a much more efficient way of repeating content.

We were then introduced to arrays and how we could use them in our projects.
The mini task that we were given was to fill a rectangle with a random colour from our colour array.

nots2

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s