LerpRemap Linear interpolation, clamping // On all floating point types lerp(min:max:) invLerp(min:max:) remap(fromMin:fromMax:toMin:toMax:) clamped(min:max:) Demo Open Interpolation.xcworkspace