float a = random(0,255); float b = random(0,255); float c = random(0,255); int circle_color = color(a,b,c); float d = random(1,100); void setup() { background(255); strokeWeight(1); size(1000,1000); frameRate(12); } void draw() { fill(circle_color); ellipse(mouseX, mouseY, d, d); a = random(0,255); b = random(0,255); c = random(0,255); d = random(1,50); } void mousePressed() { circle_color = color(a,b,c); a = random(0,255); b = random(0,255); c = random(0,255); }