static intercept(source, mid, target) {
        return (mid - source) / (target - source);
    }
Solves the lerp equation.

@param source The starting number.
@param mid The number in the middle.
@param target The ending number.
@return A number t such that lerp(source, target, t) = mid.