Monday, 14 May 2012

processing - experiments.

I took out this book from the library, hoping it would help introduce me to processing, and helo me learn the basics behind it.


The book directed me as to what software to download and the basic terminology behind writing your own coding.






This is the interface of the software, basically you just type in specific codes that you script yourself, hit play and if the code is written correctly a java window will open allowing you to interact with the code you have written.
After messing around with it and looking through the book to try and crack the terminology i managed to script this code, although not knowing exactly what it would do because i am still very new to this i managed to create something what i thought was quite cool. As you move your mouse across the window it is tracked by a series of circles which slowly build up to fill the screen.
im not sure what i could do with this software as of yet, however i do want to somehow apply it to my design work. I just need to become more confident on it first and try to create something worth while. This is still pretty cool though.

void setup() {
  size(480, 120);
}

void draw() {
  if (mousePressed) {
    fill(0);
  } else {
    fill(255);
  }
  ellipse(mouseX, mouseY, 80, 80);
}











No comments:

Post a Comment