Function toBrightGeneratorPerPeriod

  • Flip a generator / period ratio to a bright version if necessary.

    Parameters

    • generatorPerPeriod: number

      Generator divided by period.

    • size: number

      Size of the scale.

    Returns number

    The first parameter. Flipped if it was dark.

  • Parameters

    • generatorPerPeriod: Fraction
    • size: number

    Returns Fraction