ianhi_processing/NatureOfCode/The-Nature-of-Code-Examples-master/Processing/introduction/Figure_I_6_RandomGraph/Figure_I_6_RandomGraph.pde
// The Nature of Code
// Daniel Shiffman
// http://natureofcode.com

void setup() {
  size(400,200);
  smooth();
}


void draw() {
  background(255);
  noFill();
  stroke(0);
  strokeWeight(2);
  beginShape();
  for (int i = 0; i < width; i++) {
    float y = random(height);
    vertex(i,y);
  }
  endShape();
  noLoop();
}
