// colorPixels generator v. 1.0 // mikkel . crone . koser // novemeber 25. 2002 // http://www.beyondthree.com // proce55ing.beyondthree.com int boxSize, boxWidth, boxHeight; BImage title; void setup(){ size(360,360); background(#444444); noStroke(); boxSize = 25; boxWidth = boxSize; boxHeight = boxSize; title = loadImage("cover16.gif"); } void loop(){ boxSize = Math.max(int( Math.abs(180 - mouseX)/5.00 ),4); boxHeight = Math.max(int( Math.abs(180 - mouseY)/5.00 ),4); boxWidth = Math.max(int( Math.abs(180 - mouseX)/5.00 ),4); fillReds(); // title fill(255); rect(0, 0, 10, height); rect(width, 0, -10, height); rect(0, 0, width, 10); rect(0, height, width, -10); image(title, 7, 244); } void fillReds(){ for(int y=0; y