Transform a value from input range to output range.
This function does NOT clamp the output value.
This function is inspired by the Processing's map() function.
map()
value to transform
lower edge of the input range
upper edge of the input range
lower edge of the output range
upper edge of the output range
Transform a value from input range to output range.
This function does NOT clamp the output value.
This function is inspired by the Processing's
map()function.