Processing - 13 - for와 line을 사용한 그리기
                                            
                                                
                                                
                                                
                                                
                                                
                                                 2220 단어  processing
                    

void setup() {
  size(500, 500);
  background(0);
  stroke(255, 60);
  noLoop();
}
void draw() {
  for (int i = 0; i < 100; i++) {
    float random = random(30);
    strokeWeight(random);
    float offset = random * 20.0;
    line(i-20, height, i+offset, 0);
  }
}
                Reference
이 문제에 관하여(Processing - 13 - for와 line을 사용한 그리기), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/diveormosh/items/725ab91bc85e83bcb352텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
                                
                                
                                
                                
                                
                                우수한 개발자 콘텐츠 발견에 전념
                                (Collection and Share based on the CC Protocol.)