RaymondZuo301_processing/The Nature of Code/C1_7_motionGroup_to_mouse/C1_7_motionGroup_to_mouse.pde
Mover[] movers = new Mover[20];

void setup(){
  size(800,800);
  smooth();
  for (int i = 0; i < movers.length; i++){
      movers[i] = new Mover();
  }
}

void draw(){
  background(255);
  for (int i = 0; i < movers.length; i++){
    movers[i].update();
    movers[i].checkEdges();
    movers[i].display();
  }
}