
void setup()
{
size(400,400);
background(25,90,120);
//noLoop();
}
void draw()
{
int[][]renkler;
renkler= new int [width][height];
int noktaX= mouseX;
int noktaY= mouseY;
for (int i=0; i< width; i++)
{
for (int j=0; j< height; j++)
{
renkler[i][j] = round(dist(i,j,noktaX,noktaY))*255/100;
}
}
for(int i=0; i
point(j, i);
}
}
}
Hiç yorum yok:
Yorum Gönder