void setup(){
size(100,100);
}
void draw(){
background(random(0,255));
stroke(random(0,255),random(0,255),random(0,255));
line(0,100,mouseX,mouseY);
line(100,0,mouseX,mouseY);
line(100,100,mouseX,mouseY);
line(0,0,mouseX,mouseY);
line(50,50,mouseX,mouseY);
fill(random(0,255),random(0,255),random(0,255));
stroke(random(0,255),random(0,255),random(0,255));
ellipse(50,50,mouseX,mouseY);
}
No hay comentarios:
Publicar un comentario