-
Continue interpolation of linear expression beyond its paramaters
Hiya,
I’m using the linear interpolation expression. At the moment the interpolation is clamped when you get to the entered value range, I was wondering if there was a way to make the calculation continue beyond the values?
If anyone uses cinema 4d, the range mapper node in xpresso does this. You simply put in your lower and upper values and then just leave it un-clamped and the calculation will continue beyond your values.
I hope this makes sense, I’ve included my current expression below.
thanks
input = thisComp.layer("shadow_position").transform.position[0];inputLow = -238;
inputHigh = 2047;
outputLow = -56;
outputHigh = 63;
linear(input,inputLow,inputHigh,outputLow,outputHigh)