// Bubble Chamber // joelgillman January, 2008 // Minneapolis, Minnesota // joelgillman.com // Processing 0135 Beta // just playing around with processing for the first // time in a long time. //dimentions on the drawing area, and mode int dim = 470; int fps = 30; int mouseToggle = 0; void setup() { size(470, 470); background(51); frameRate(fps); noStroke(); smooth(); //noLoop(); } void draw() { background(51); //draw_target(mouseX,mouseY, 100, int(random(5,20))); draw_target(mouseX,mouseY, 200,10); } void draw_target(int xloc, int yloc, int size, int num) { float grayvalues = 255/num; float steps = size/num; for(int i=0; i