remap

fun remap(input: Float, min: Float, max: Float, targetMin: Float, targetMax: Float): Float(source)