- April 26, 2010 at 5:39 pm
Although I’m sure I’m not the first person to need this sort of expression, my googling yielded nothing of value.
I’m basically looking for a simple expression that will accept “input low” and “input high” values and output “output high” and “output low” values and allow me to scrub between the two.
There’s an XPresso node within Cinema4D that does this very operation, and I was wondering if anything similar existed within the AE realm.
Your help is very much appreciated!
- April 26, 2010 at 6:46 pm
You can use linear() to remap a range, like this:
input = effect(“Slider Control”)(“Slider”);
inputLow = 0;
inputHigh = 100;
outputLow = -100;
outputHigh = 100;
- November 5, 2011 at 2:41 pm
Btw, you don’t need an expression to range map the values of a slider. This is built in to every slider in AE. You simple need to right-click on the slider and “Edit Value”, you can then set the range. Check out this demo: https://vimeo.com/31647043
-LloydSome contents or functionalities here are not available due to your cookie preferences!
Log in to reply.