Function lerp

  • const randomValue = lerp(lowestLegalValue, HighestLegalValue, Math.random())
    

    Parameters

    • at0: number

      lerp(at0, at1, 0) → at0

    • at1: number

      lerp(at0, at1, 1) → at1

    • where: number

    Returns number