pub fn normalize(value: f32, min_value: f32, max_value: f32) -> f32
Normalize a value from [min, max] to [-1, 1].