Processing 3

Within this workshop we began to build on our previous skills while also using more complicated language techniques to make the code tidy and efficient and then can have  a confident sense ofPicture25 the code when creating our own final pieces. In this piece we were to create our own shape which we could then use as a larger integer within the overall code. I created the basic setup of the code E.g. sizing and design. We then created a house shape in which we used basic shaped to create and colour in this instance a triangle and a square and a secondary rectangle to act as a door. These were then positioned together within the canvas and declared a colour. For the choice of colour within this I wanted it to be a random selection of specific colours. So we created an array in which we declared a colour array and then inputted the amount of colours that we wished for the house shape to range from and then inputted the arrays letter within the colour code of the Void house area.Picture26Once the house shape had been completed we would just need to refer to the house code for it to be inputted as this shape within the canvas. Therefore we first translated the image to move around the centre of the page much like the previous workshop and then declared for it to rotate in a normal movement plus one on each rotation.  Once we had created this shape movement we then inputted and IF statement that declared each time the move was clicked then it would be save as an image under the name Foobar, which would then be collated to create a image using a basic frame by frame setup of the program.

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