|
|
|
|
@ -87,7 +87,7 @@ function YColorProbe()
|
|
|
|
|
radiusCTRL.name ='radius';
|
|
|
|
|
myNull("Effects")("radius")('Slider').setValue(5);
|
|
|
|
|
colExp = 'myLayer = thisLayer("Effects")("sampledLayer")("Layer");\
|
|
|
|
|
p = thisLayer.toWorld(thisLayer.transform.anchorPoint);\
|
|
|
|
|
p = myLayer.fromWorld(thisLayer.toComp(thisLayer.transform.anchorPoint))\
|
|
|
|
|
r = thisLayer("Effects")("radius")("Slider");\
|
|
|
|
|
myLayer.sampleImage(p, radius = [r, r], postEffect=true, t=time)';
|
|
|
|
|
myNull("Effects")('outColor')('Color').expression=colExp;
|
|
|
|
|
|