[][src]Function evolution::inverse_map_range

pub fn inverse_map_range(
    value: f32,
    range1: (f32, f32),
    range2: (f32, f32)
) -> f32

Mapping function based on the map() function in Processing. This map function will give the inverse result though so things can be inversely proportional.