Processing!
December 6th, 2008If you haven't heard yet, Processing is now out of beta. I don't have words to express my admiration for it's creators Ben Fry and Casey Reas. It had been a few years since I messed with it - because after I spent about a year using it on a regular basis... I was able to teach myself Java, C++ and OpenGL. Processing exposed me to lower level pixel manipulation than I had ever done in Flash or Director... and taught me techniques that made understanding the basics of OpenGL easy.
Today I downloaded Processing 1.0 and started playing around. In just a few minutes I was very happy.
JAVA:
-
import processing.opengl.*;
-
-
float t = 0;
-
float c = 0;
-
-
void setup(){
-
size(1400,1000, OPENGL);
-
ellipseMode(CENTER);
-
noStroke();
-
}
-
-
void draw(){
-
translate(width / 2, height / 2);
-
-
fill(0,0,0,5);
-
ellipse(50,50,mouseX, mouseY);
-
-
t += 0.01;
-
c = abs(255 * sin(t));
-
fill(c,c,c,10);
-
ellipse(0,0,mouseX, mouseY);
-
}
I think I'm going to work Processing back into my daily coding routine...