float noiseScale= -.005;
void loop() {
for(int y=1; y<width; y++) {
float noiseVal = noise((mouseX+y)*noiseScale,
mouseY+noiseScale);
stroke(noiseVal*355, 200, 600);
line(y, mouseY+noiseVal*80, y, height);
}
}
http://www.uweb.ucsb.edu/~nyshortie/