Workshop 5 (Processing 3)

Today I was taught about Arrays. Arrays are just a collection of data that allows the coder to type out less code.

Using the skills I have learnt over the last few weeks, I had to create a program that when the mouse is clicked the colour of the rectangle changes to a random colour within a array I had set

Screen Shot 2014-10-16 at 16.05.55 Screen Shot 2014-10-16 at 16.05.52 Screen Shot 2014-10-16 at 16.05.50 Screen Shot 2014-10-16 at 16.05.29 Screen Shot 2014-10-16 at 15.25.18 Screen Shot 2014-10-16 at 15.22.03

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