InterLAB-UC_NaturalSystems/paseosAleatorios/paseoAleatorio_1_1/paseoAleatorio_1_1.pde
Walker[]w = new Walker [1000];
import processing.pdf.*;



int rem = 0;

void setup() {
  size(500, 500);
  beginRecord(PDF,"tod.pdf");
  background(255);
  frameRate(60);
  for (int i =0; i< w.length; i++) {
    w[i] = new Walker();
  }
}

void draw() {
  

  
  for (int i = 0; i< w.length; i++) {
    w[i].display(i*.2, 0, i*.09, i*.02);
    w[i].step();
  }
  

}



void keyPressed() {
  if (key == 'q') {
    endRecord();
    exit();
  }
}