((value – source_min) / (source_max – source_min)) * (dest_max – dest_min) + dest_min
This matches up with the output for both clamped and unclamped.
((value – source_min) / (source_max – source_min)) * (dest_max – dest_min) + dest_min
This matches up with the output for both clamped and unclamped.