// Press the mouse to hide the cursor void draw() { if(mousePressed == true) { noCursor(); } else { cursor(HAND); } { size (400,400); smooth (); background(50); for(int i=0; i<100; i++) { float r = random(100); stroke(r*20); quad(mouseX, i+r, mouseX, i+r, mouseX+r, mouseY, mouseY, 285+r); // quad shape based on x and y coordinates "quade (x1, y1, x2, y2, x3, y3, x4, y4). "+r" adds a random number within a range of 0 - 100. fill(mouseX, 122, mouseY); // this makes the quad shape orange with a possible variation of 100 to make a neutral color scheme. } //mousX and mouseY allow mouse input to control quadrant and fill variables. fill (240); PFont font; font = loadFont("SynchroLET-48.vlw"); textFont(font); String s = "Processing"; text(s, 105, 300, 400, 50); textSize(14); text("Danny Lambdin 2007",235,365); textSize(18); text("CASCADING QUADRANTS",200,350); } }