Saturday, 28 May 2011

New Layout of Poster

 I did not realize that our exhibition piece could not contain words so I have changed the layout in order for it to show a loop without having words on the poster.

Monday, 23 May 2011

Photos I'm using

Here are just a few of the photos I have taken to use in my exhibition piece:
 

 

 

 

Sunday, 22 May 2011

My Chosen Idea

The idea that I have chosen to make is Idea 3 - The Poster. I chose this because I feel I make can make it show clearly what a while loop is and what it does. Also because of the Metaphor as living in a hostel and being served dinner is a very common experience for many university students.

Monday, 16 May 2011

Time Management Plan

I have not yet decided if I am doing a stop motion or a poster but I've made my Time Management Plan to fit both ideas.


Planning and Ideas.

Possible Metaphors for a While-loop:

1) A packager prepares orders by packing items into boxes. If there are no items, he never starts packing. As long as   there are items, he continues to pack. When he runs out of items he stops packing.

2)  A checkout worker serves customers as long as there are customers in line. When there are no customers, she has time to handle previous orders. While" and the condition "there is a customer in line" continues until the condition is no longer true. Then the customer service representative handles previous orders.

3) A dinner server at the hostel serves food to the students. If there are no students in line to begin with, the server never begins serving. As long as there is students in the line, he continues to serve. When the line of students ends he stops serving.

4) Electrons in a light circuit. While the switch is on, the electrons flow to the bulb. As long as the switch is on, the electrons keep flowing. Once the switch is turned off, or the battery runs out, the electrons stop


Top Three Exhibition Ideas:

- Idea One: Metaphor two could be made into a stop motion clip. Using clear photos I could get the message across of what a while-loop is.
Equipment:        Camera
                              Tripod
                              Computer (iMovie)
Costing: There would be no cost in the making of this idea.
Time Management: I could possibly be pushing it to make this idea in time. It will be a lot to get enough photos taken to get the idea of a while-loop across. The editing would also take quite a bit of time. So I would probably not get this idea done in time.




- Idea Two: Metaphor four could be made into a application on Processing. I would include a on/off switch in the app and have electrons flow around a circuit.
Equipment:       Computer
                          Processing
Costing: This idea would not cost anything to make as it would be all done on the computer.
Time Management: I don't think this idea would be possible to make in the amount of time we have. I also don't have the best skills when using the Processing program so would probably struggle a lot to make this idea.


- Idea Three: Metaphor three could be made into either a stop motion or a poster.
Equipment:        Camera
                            Tripod
                            Computer (PhotoShop or iMovie)
                           Paper
                           Printing
Costing: This either would either cost nothing, or less than $10, depending on what option I choose. Making a stop motion wouldn't cost anything and making a poster would cost less than $10 to get printed.
Time Management: This idea would be managable with the amount of time we have left. I would get the main of my idea done during this week until the 22nd of May, then fix up anything needed and have the report done by the 27th.






SKETCHES:





Monday, 9 May 2011

Analysis and Exploration of Processing Applications.

Because my chosen processing tool is 'while-loop', I typed in 'while-loop' into the search engine on OpenProcessing to find applications people had made that contain a while loop.


I came across this application that I quite liked: 
1- http://www.openprocessing.org/visuals/?visualID=22793 
In this application it simulates a random walker which attaches itself to any structures it touches, which leads to an overall growth in the shape of the structure. The while in this application is whats keeping the walker wandering around looking for a position where it has a neighbor to attach to. This then turns ON its current position and attaches itself to the existing structure it is touching because the condition is TRUE. The while will continually attach the walker to a structure as long as it touches a existing structure. As soon as it doesn't touch or runs out of neighbors to attach to, the while will stop because the condition has become false.


      
Here is two images, one while its quite small, and one when its grown a little bit.






I have personally struggled with this task. I do understand my function but I find it really difficult to completely understand with it is doing in other peoples applications as i haven't written the code myself and i find decoding other applications quite difficult.

My Chosen Programming Tool - 'While-loop'

The term I have chosen to use for this project is 'While - Loop'. The definition of a while-loop on the processing reference website is: Controls a sequence of repetitions. The while structure executes a series of statements continuously while the expression is true. The expression must be updated during the repetitions or the program will never "break out" of while.


A simpler statement that I understand better is: a While-loop is a control flow statement that allows code to be executed repeatedly based on a given boolean condition. It can be thought of a repeating 'if' statement. The while consists of a block of code and a condition. The condition is evaluated, and if true, the code runs. This repeats until the condition becomes false.