2015.06.04
noise2
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.01; xnoise = xstart; for (int x = 0; x <= width; x+=3) { xnoise += 0.6; float alph = ynoise; stroke(0,0,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(); }