Wednesday, November 30, 2011

Processing 2 Overview

In my last processing project I drew my inspiration from the self sustaining processing programs that were shown in class. I like the idea of a program that runs by itself and creates a work of art by itself by only putting in a few variables that are predetermined before the program even begins to start running. I first made a grid by setting one variable and adding one hundred to the variable to make a grid. After I made one grid I made another because I did not think that one was enough. I then made two balls that would bounce around the screen and I attached a line from the points on the grid to the bouncing balls. On top of the balls I put a circular vector shape to give the balls more of a life. At this point in time I did not have anything that made the program interactive. i decided to code the keys g, h,j,b,and n. two of the keys i copied the code of the first two balls code and assigned them to the keys. the only thing that i changed is the direction in which the balls were going. And instead  i also changed the color of the strings in which attached themselves to the grid. The last thing I wanted to do was to make a way to reset the art piece so i gave one of the keys a background so that the strings would not record while button was being pressed.

I did run into some problems that i never resolved. The first problem was that i wanted the actions of the keys to work once the key was clicked not held. The second problem was that I could not get two actions from two keys to work at the same time. I think that the best way to solve that problem would be to solve the first.

Overall I loved this project. I think that I will continue to learn and use this program. I only wish that there were classes that I could take to continue learning. A few weeks was not enough.

No comments:

Post a Comment