void setup() {
size(400,400);
smooth();
background(0);
}
void draw() {
if(mousePressed) {
fill(#FF0033);
stroke(#CC0000);
strokeWeight(3);
} else {
stroke(#330099);
fill(#00CCCC);
}
ellipse(200,200,mouseX,mouseY);
}
No hay comentarios:
Publicar un comentario