| expression to transform the speed of position values to the size of a mask
• | | | |
 | expression to transform the speed of position values to the size of a mask
by mickey meyers on Sep 2, 2012 at 11:36:06 am |
hi out there,
I'd need some help for an expression:
I 'd like to connect:
- the speed of a track point("feature center" x/y) in layer1/ (simple position values)
-> to the expansion of a mask ("mask expansion" 0-50 pixels) in layer2
does anybody know how to accomplish this?
I'd be gracefull for every hint!
greetz from germoney
michi
| | | | |
• | | | |  | Re: expression to transform the speed of position values to the size of a mask by Dan Ebberts on Sep 2, 2012 at 4:55:18 pm |
I'd start with something like this:
atten = 10;
thisComp.layer("layer 1").motionTracker("Tracker 1")("Track Point 1").featureCenter.speed/atten
Adjust the value of atten to get the relationship you want between the speed and the mask expansion.
Dan
| | | | |
• | | | |  | Re: expression to transform the speed of position values to the size of a mask by mickey meyers on Sep 3, 2012 at 6:37:20 am |
hi dan,
super, thanx a lot,
this really helped me out!
greetz and carry on!
mickey
| | | | |
| |
|