int i,j;
void setup() {
size(800,600,P3D);
background(255);
}
void draw() {
stroke(100,0,0);
strokeWeight(1);
smooth();
fill(255);
i=mouseX-25;
j=mouseY-25;
triangle(i,(random(300)),(random(480)),j,i,350);
delay(100);
}
No hay comentarios:
Publicar un comentario