Tuesday, May 31, 2011
I very much like the end result i gathered from this project. In the beginning I was focussing on the if/else statement but then decided to change to classes so I could learn more about the function I used in project two. I think the end clip both represents the classes metaphor and is also visually appealing and interesting to watch. The music in the background is simple but helps to enhance the viewing experience.
development
Thursday, May 26, 2011
Hannah Faesenkloet, dsdn 142
– HouseBuilder
Class or Classes: A classification of data and behaviour which may be used to instantiate objects which fit the description.
For my project I created a short stop-motion clip to represent a ‘class’. In the clip, a blueprint of a house is drawn and created. This is to show the collection of data and behaviour to describe eventual objects. The blueprint is then passed on to a factory builder who turns the blueprint into an actual three-dimensional structure of the drawn house. This represents the class being used to generate objects. The factory builder is able to go back to the blueprint and use them to change the outcome of the final 3D structure, for example, the colour and position of the front door can change or extra windows are added to the bottom floor. Towards the end of the clip the builder continually creates 3D houses that have slight differences. This shows that although the class has been created and used to generate objects, it can be added and altered to create objects that are different.
The first letter of a class name is different from other variables; it is usually uppercase hence the reason the name of the movie is spelt ‘HouseBuilder’.
– HouseBuilder
Class or Classes: A classification of data and behaviour which may be used to instantiate objects which fit the description.
For my project I created a short stop-motion clip to represent a ‘class’. In the clip, a blueprint of a house is drawn and created. This is to show the collection of data and behaviour to describe eventual objects. The blueprint is then passed on to a factory builder who turns the blueprint into an actual three-dimensional structure of the drawn house. This represents the class being used to generate objects. The factory builder is able to go back to the blueprint and use them to change the outcome of the final 3D structure, for example, the colour and position of the front door can change or extra windows are added to the bottom floor. Towards the end of the clip the builder continually creates 3D houses that have slight differences. This shows that although the class has been created and used to generate objects, it can be added and altered to create objects that are different.
The first letter of a class name is different from other variables; it is usually uppercase hence the reason the name of the movie is spelt ‘HouseBuilder’.
Monday, May 2, 2011
:IF:
Allows the program to make a decision about which code to execute. If the test evaluates to true, the statements enclosed within the block are executed and if the test evaluates to false the statements are not executed.
:ELSE:
Extends the if() structure allowing the program to choose between two or more block of code. It specifies a block of code to execute when the expression in if() is false.
This is the first example that i found, when the mouse is moved from left and right of the screen, the picture changes from daylight to night to raining. The 'If' statement is used in this case - when mouse is left, raining, when mouse is right, nightand when mouse is in the middle, daylight.

http://www.openprocessing.org/visuals/?visualID=11028
Another example that I found was a short story/animation using many if/else statements.

http://www.openprocessing.org/visuals/?visualID=21309
the final example that I found was a maze based on alice and wonderland, they also include many if else statements. In this case the statements were used so that the user and choose a direction to go in the maze, if clicked on left, the maze would travel to a specified slide next, if clicked right, then the slide specified for that side would run next.

http://www.openprocessing.org/visuals/?visualID=7810
Allows the program to make a decision about which code to execute. If the test evaluates to true, the statements enclosed within the block are executed and if the test evaluates to false the statements are not executed.
:ELSE:
Extends the if() structure allowing the program to choose between two or more block of code. It specifies a block of code to execute when the expression in if() is false.
This is the first example that i found, when the mouse is moved from left and right of the screen, the picture changes from daylight to night to raining. The 'If' statement is used in this case - when mouse is left, raining, when mouse is right, nightand when mouse is in the middle, daylight.

http://www.openprocessing.org/visuals/?visualID=11028
Another example that I found was a short story/animation using many if/else statements.

http://www.openprocessing.org/visuals/?visualID=21309
the final example that I found was a maze based on alice and wonderland, they also include many if else statements. In this case the statements were used so that the user and choose a direction to go in the maze, if clicked on left, the maze would travel to a specified slide next, if clicked right, then the slide specified for that side would run next.

http://www.openprocessing.org/visuals/?visualID=7810
Subscribe to:
Comments (Atom)
