블로그 이미지
Leeway is... the freedom that someone has to take the action they want to or to change their plans.
maetel

Notice

Recent Post

Recent Comment

Recent Trackback

Archive

calendar

1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
  • total
  • today
  • yesterday

Category

2006. 8. 11. 20:31 Code/Processing
assignment from chang -


my work:
void setup(){
  size(600,600);
  background(100);
  frameRate(4);
}

void draw(){
  translate(20,20);
  noStroke();
  for(int x=0; x<11; x+=1){
    for(int y=x; y<11; y+=1) {
      fill(255-random(60),150+random(-20,20),200+random(-10,10));
      rect(10+50*x, 10+50*y, 40,40);
    }
  }
}

one cut:
사용자 삽입 이미지

'Code > Processing' 카테고리의 다른 글

simple wave test  (0) 2007.08.30
clock  (0) 2006.06.19
posted by maetel