Page 1 of 1

reationship between numbers. tring to find solution...

Posted: June 19th, 2012, 10:49 am
by Varangian
I am looking for a mathematic formula,
that when applied to a source value, it will yield a result value in the following relationship:

SOURCE = 50, RESULT = 200
SOURCE = 90, RESULT = 111
SOURCE = 100, RESULT = 100
SOURCE = 110, RESULT = 91
SOURCE = 150, RESULT = 66.667
SOURCE = 200, RESULT = 50

I am basically trying to negate scaling in a project.
This formula would apply to AE, as well as flame/smoke, so if you know the formula, platform agnostic code would be great!

thanks!

Re: reationship between numbers. tring to find solution...

Posted: June 19th, 2012, 10:41 pm
by Dan Ebberts
Inverse scaling would be:

s2 = 10000/s1

Dan