Function pointRadial

  • Returns the point [x, y] for the given angle and the given radius.

    Parameters

    • angle: number

      Angle in radians, with 0 at -y (12 o’clock) and positive angles proceeding clockwise.

    • radius: number

      Radius.

    Returns [number, number]