Processing – Loop & While

Within this seminar, we recapped on what we had learned from last weeks lab session briefly. Upon this, we moved onto more complex programming where we could use loop and while functions to create a more interactive and changing visual programme. As the computer lab session progressed we were given the task to create a visual programme where it needed to consist of 10 circles that would appear on the screen and change every time the mosque was clicked by the user. Upon clicking the mouse the circles have to change size, position and colour- the background colour has to change each time the mouse is clicked too.

To begin this, I needed to make sure what kind of method I was going to approach. Kyle told us to use the random function to get random integers into the data of the programme.

Using some assistance, I was able to create a programme that met the requirements delivered by Kyle.




Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s