def lerp(a, b, scalar):
    """Lerp - Linearly interpolates between 'a'
    when 'scalar' is 0 and 'b' when 'scalar' is 1.
    a = number or Vector
    b = number or Vector
    scaler = number between 0 and 1
    """
    return (a + scalar * (b - a))