ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Linking opacity expression wiggle with brightness

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Vojtěch Palme
Re: Linking opacity expression wiggle with brightness
on Feb 26, 2013 at 3:02:38 pm

That depends on what you aplyed the wiggle to. If you've aplyed to position, that has 2 values, you cannot just pick whip brightness to entire position, but only to one of its values.
If you want both X and Y pos. to affect the brightness you can do something like this:

val = thisComp.layer("wiggling layer").transform.position[0]+thisComp.layer("wiggling layer").transform.position[1]/2; //evridge of the position x,y values
linear(val,1100,1300,-30,100) //this changes the resoult values (1100 and 1300 were my resoult values) to range between -30 and 100 (bright enaugh)


Posts IndexRead Thread 


Current Message Thread:





© 2019 CreativeCOW.net All Rights Reserved
[TOP]