// Example that shows how to draw a bunch of random lines
// Each pixel position at the bottm and across the drawing window will be the
// starting point of a line.
// This sketch shows how to use the Perlin noise() function to
// produce a smooth profile of lines, as opposed to random()
void setup() {
   size(500, 500);
   background(255);
   noLoop();
} // setup()
void draw() {
   float t = 10;
   
   for (int i = 0; i < width; i++) {
      float n = noise(t);
      line(i, height, i, n*height);
      t = t + 0.005;
   }
} // draw()