/* Lines and shadows: Generator by Soumyadeep Paul */ int max_cubes = 10; void setup() { size(720, 480); frameRate(2); } void draw() { background(255); stroke(0); point(10, 10); int random_num = int(random(1, max_cubes)); int i; for (i=0; ix2) {xmax=x1; xmin=x2;} else {xmax=x2; xmin=x1;} if (y1>y2) {ymax=y1; ymin=y2;} else {ymax=y2; ymin=y1;} alpha_fall = random(1.0); pixel_density = random(1, 3); println (x1 + "," + y1 + "," + x2 + "," + y2); println (alpha_fall); println (pixel_density); } void sketch() { int i, j; for (i=ymin; i