//There was a thousand problems I had to figure out while getting these to work //It is a patch works of commands, I finnally found that it only worked properlly on //one of the older processing versions (the versions differed between home and school) //So my three processing pieces depend on the glitches of older versions. PImage a; void setup() { a = loadImage("043marbre.jpg"); size(400,400); noStroke(); background(9999); smooth(); } void draw() { float pointillize = map(mouseX, 542, width, 432, 200); int x = int(random(a.width)); int y = int(random(a.height)); color pix = a.get(x, y); fill(pix, 3970); rect(x, y, pointillize, pointillize); }