Monday, 17 October 2011

Processing

I really wanted to do something that was very cool for my processing, However I do not have the technical skills to do this. So I decided to create a sketch that make different balls bounce around the screen and depending how fast they move is depending on the wind speed. I decided to do this because it was simple to do.Below is a image of my processing embedded onto my website. This is the processing feed when new information had just been entered. It made all the balls only go up and down (where before they bounced all over the place) and made some balls go half off the screen.




I had to change the way my processing read the feed, instead of it reading value 27 (I thought they stayed in the same place) it now reads just the wind speed. This should keep my numbers in the same sort of values. However by using this method it automatically reads the top result on the page, which is the oldest result. The newest result is produced at the bottom of the page. Making it difficult to choose the newest feed. Sadly I was unable to figer out how to select the bottom feed. Another issue I had was reuploading it to the website. It was very hard to take off the old one and put on the new one. Below is a screen shot of the edited code.


No comments:

Post a Comment