processing 복습

2008.03.11 00:14

juro 조회 수:744

void setup(){
  int col = int(random(255));
}

void draw(){
  //noStroke();
  int a = int(random(255));
  int b = int(random(255));
  int c = int(random(255));
  
  strokeWeight(10);
  stroke(a,b,c);
  line(1,1,50,50);
}

© juroweb 2003-2014. All rights reserved
log in