int x=150;
void setup() {
size(200,200);
background(#269884);
}
void draw() {
if(mousePressed){
line(20,20,180,180);
fill(#5CF511);
ellipse(100,100,20,20);
}
else{
fill(#C10225);
ellipse(50,50,90,90);
ellipse(150,150,90,90);
fill(#FC8B00);
triangle(20,30,80,10,60,90);
triangle(180,120,160,110,180,100);
}
}
No hay comentarios:
Publicar un comentario