Proportionally maps value from being within the from range to the to range.
value
from
to
Definition at line 90 of file misc.py.