Utility methods to make parts of a Pendulum Clock.

Methods

  • Creates the anchor with pendulum that engages the escape wheel in a pendulum clock.

    Parameters

    • scale: number

      determines the size of the anchor

    • anchorJoint: Vector

      where the anchor joint is in body coords of anchor

    • rodLength: number

      length of the pendulum rod

    • bobRadius: number

      radius of the round pendulum bob at end of pendulum

    • startEdges: Edge[]

      adds to this array the starting edge of the anchor and the pendulum

    Returns Polygon

    the anchor Polygon

Generated using TypeDoc