Hey guys I need help.
Does php have a function that will convert numbers like this:
Lets say i have a range from 0 to 100. Is there a way to convert that into 100 to 500?
In Adobe After Effects there is an expression "linear" which is what I want to do in PHP:
linear(value, 0, 100, 20, 80)
After Effects Help File wrote:This method—like all of the Interpolation methods—can also be used to convert from one range of values to another. For example this expression on the Opacity property converts the Opacity values from the range 0%-100% to the range 20%-80%: