int x= 150;
void setup () {
size(600,600);
background (#CC1CE8);
if (x>100) {
line(20,20,180,180);
fill (0);
triangle(10,5,80,10,60,90);
triangle(60,90,130,90,120,170);
triangle(130,170,190,130,180,200);
}
}
void draw () {
if (mousePressed) {
ellipse (50,50,30,30);
} else {
ellipse (20, 20, 60, 60);
}
}
Suscribirse a:
Enviar comentarios (Atom)
No hay comentarios:
Publicar un comentario