reationship between numbers. tring to find solution...

Moderators: Disciple, zlovatt

Post Reply
Varangian
Posts: 38
Joined: December 16th, 2004, 11:15 am

June 19th, 2012, 10:49 am

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!
Dan Ebberts
Posts: 319
Joined: June 26th, 2004, 10:01 am
Location: Folsom, CA
Contact:

June 19th, 2012, 10:41 pm

Inverse scaling would be:

s2 = 10000/s1

Dan
Post Reply