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.
Monday, 9 May 2011
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.
PROJECT THREE - Coding Expedition
Your task is to choose a basic programming operation and - by creating a metaphor - present it in such a way that the exhibition spectators understand it. You are completely free to choose whatever medium you find appropriate.Your task is to choose a basic programming operation and - by creating a metaphor - present it in such a way that the exhibition spectators understand it. You are completely free to choose whatever medium you find appropriate.
Monday, 2 May 2011
Evaluation
Over all I am very pleased with how my final application has turned out. It meets all ingredients of sound, visuals and interactive. I find it enjoyable to play with and I hope others do as well.
In the beginning of the project I was really struggling and without the extra tutorial and extra help sessions with the tutors I would not have got as far as I did. They helped me a lot by talking me through different steps while creating my application.
I now have a way better understanding of the Processing Program and I'm slowly learning how it work out codes for myself. I feel the standard of my work has increased a lot from the first project and I now understand how important it is the blog everything as I go.
In the beginning of the project I was really struggling and without the extra tutorial and extra help sessions with the tutors I would not have got as far as I did. They helped me a lot by talking me through different steps while creating my application.
I now have a way better understanding of the Processing Program and I'm slowly learning how it work out codes for myself. I feel the standard of my work has increased a lot from the first project and I now understand how important it is the blog everything as I go.
Transformation Final. URL link to OpenProcessing.
http://www.openprocessing.org/visuals/?visualID=28004 - Project Two. Transformation.
I have uploaded my final application to the OpenProcessing website and have also added it to both the Creative Coding 142 classroom page and the Transformation sub-collection.
I have uploaded my final application to the OpenProcessing website and have also added it to both the Creative Coding 142 classroom page and the Transformation sub-collection.
Screen Shot of blue circles.
I personally think the colour blue looks much better than the red did. The red stood out just a bit to much and seemed to take the screen over a lot quicker than the blue does. I am glad I made this decision.
Progress during break
After many hours searching online for free sound effects downloads, I came across four that I thought would work together well on my application. I have have to convert the files to mp3s and then add them to my app. Once this is done I would have finished my project and will upload it to my openprocessing account.
I have also decided to change the colour of the circles to blue. I think it looks a lot better on the white background.
I have also decided to change the colour of the circles to blue. I think it looks a lot better on the white background.
Subscribe to:
Posts (Atom)


