FORUMS: list search recent posts

Need to change result values, 82-100 to be 0-400, simple math isn't enough

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
kris alvarado
Need to change result values, 82-100 to be 0-400, simple math isn't enough
on Apr 15, 2015 at 9:53:56 pm

Ah I am dying, I've been looking all day and my eye are about to fall out. Any help and I would really appreciate it.

I want to make it when I scale up a precomp it's linked to a matching drop shadow. Fake 3D basically

So my precomp scales from 82-100 and my drop shadow needs to go from 0-400.
I added transform.scale[0] in the drop shadow size, so now it goes from 82-100. I've racked my brain multiply and dividing with -81*100 but nothing works, I need to go form 0 or maybe 1.

oh please help, I'm a total noob and at your mercy!

transform.scale[0]-81*100


Return to posts index

Dan Ebberts
Re: Need to change result values, 82-100 to be 0-400, simple math isn't enough
on Apr 16, 2015 at 1:58:54 pm

Try this:

s = transform.scale[0];
linear(s,82,100,0,400)


Dan



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]