class Pendulum {

  void drawPendulum() {

    //BEADS
    noStroke();
    fill(196);
    ellipse(mouseX, mouseY+15, 10, 10);
    ellipse(mouseX, mouseY+25, 10, 10);
    ellipse(mouseX, mouseY+35, 10, 10);
    ellipse(mouseX, mouseY+45, 10, 10);
    ellipse(mouseX, mouseY+55, 10, 10);
    ellipse(mouseX, mouseY+65, 10, 10);
    ellipse(mouseX, mouseY+75, 10, 10);
    ellipse(mouseX, mouseY+85, 10, 10);
    ellipse(mouseX, mouseY+95, 10, 10);

    //WEIGHT
    fill(77, 251, 255);
    quad(mouseX, mouseY+100, mouseX+10, mouseY+110, mouseX, mouseY+130, mouseX-10, mouseY+110);

    //RING
    noFill();
    stroke(0);
    strokeWeight(2);
    ellipse(mouseX, mouseY, 20, 20);
  }
  //end of routine drawPendulum()

  void glowIndicator() {
    for (int i = 0; i < 50; i++) {
      noStroke();
      fill(255, 250, 103, 10);
      ellipse(mouseX, mouseY+105, i, i);
    }
    //end of for loop
  }
  //end of glowIndicator() routine
}
//end of Pendulum class