ICC
< back to sketch

int x;
int y;

size(200,200);

for( y = 0; y < 200; y += 10) {
  for( x = 0; x < 200; x += 10) {

    //fill(x*255/200,0,0);
    fill(x*255/200,y*255/200,0);

    //何で以下はダメ?
    //fill(x/200.0 * 255.0, 0, 0);
 
    noFill();
    //rect(x,y,8,8);
    stroke(x,y,x);
    
    //ellipse(x, y, 8+x, 8+y);
    triangle(0+x,10+y,  5+x,0+y, 10+x,10+y);
    
  }
}

translate(100,100,0);
sphere(50);

< back to sketch