
1 2 3 4 5 6 7 8 9 10 11 12 | void setup(){ size(800 ,800); } void draw(){ if (mousePressed){ fill(random(0,255)); } else { fill(random(0,255),random(0,255),random(0,255)); } ellipse(mouseX,mouseY,80,80); } |
void setup(){size(800,800);} void draw(){if (mousePressed){fill(random(0,255));} else {fill(random(0,255),0,200);}ellipse(mouseX,mouseY,80,80);}