羽のような感じ

sketch_150602a 3.png

void setup() {
  size(1200, 800); 
  smooth(); 
  background(255);
  float xstart = random(10); 
  float xnoise = xstart; 
  float ynoise = random(10);
  for (int y = 0; y <= height; y+=5) {
    ynoise += 0.05;
    xnoise = xstart;


    for (int x = 0; x <= width; x+=2) {
      xnoise += 0.1;
      float alph = ynoise;
      stroke(0, 50, 50, alph*5);
      drawPoint(x, y, noise(xnoise, ynoise));
    }
  }
}
void drawPoint(float x, float y, float noiseFactor) {
  pushMatrix();
  translate(x, y);
  rotate(noiseFactor * radians(180));

  line(0, 0, 50, 0);
  popMatrix();
}