MAIDR JavaScript API
    Preparing search index...

    Function clockFromCounterclockwiseOf3

    • Converts an angle measured counterclockwise from 3 o'clock — the mathematical convention matplotlib, ECharts and Recharts use — to degrees clockwise from 12 o'clock.

      Parameters

      • degrees: number

        Degrees counterclockwise from 3 o'clock

      Returns number

      Degrees clockwise from 12 o'clock, in [0, 360)