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