{
size(400,400);
background(0);
//noLoop();
}
void draw()
{
int X,Y;
X=mouseX/5;
Y=mouseY/5;
for(int i=0 ;i
for(int j=0 ;j
fill(abs(round(X/2)-i)*10+ abs (round(Y/2)-j)*10);
stroke(abs(round(X/2)-i)*10+ abs (round(Y/2)-j)*10);
rect(width/X *i , height/Y*j,width/X,height/Y);
}
}
}
Hiç yorum yok:
Yorum Gönder