Peter Zeet
Forum Replies Created
-
uhm! yes, it gets quite complicated! thanks for the tip!!
-
it’s a keyframed slider (with just 2 frames, one with value 0 and other with 100, which drives the final amount, but the place where the last keyframe is may vary)
I have this expression at the text source:
countTotal=3782721;
textBefore = "+";
textAfter = " $";
s=thisComp.layer("control").effect("grow")("Slider");
n="" + Math.round(s*countTotal/100);
s="";
for(i=0, l=n.length; i -
a quick variation… how it would be adding a fade instead of the 100 value?
I’m doing a linear(time,0,.2,100,0), but it does nothing.
I think I should define time ? -
works perfect, thank you!!
-
awesome! many thanks!!
I’m so sorry for not saying thanks before! I just realized you answered my question so long ago! -
Peter Zeet
November 9, 2016 at 5:27 pm in reply to: adding flickering fade in characters to an existing expressionHi!
I tried to adapt a part of that code to make it flickering out instead of in, but I can`t make it stop, it gets stuck on an endless flickering,
do you know how it would be to make it flicker but just during the “dur” number of frames and then zero transparency?
delay =framesToTime(effect("delay")("Slider"))
myDelay = delay*textIndex;
m = marker
n = 0;
if (m.numKeys > 0){
n = m.nearestKey(time).index;
if (m.key("out").time > time) n--;
}
if (n > 0){
t = time - (m.key("out").time + myDelay);
startVal = 0;
endVal = 100;
seedRandom(textIndex,true);
myDelay = random(delay/.15);
seedRandom(textIndex,false);
dur=framesToTime(effect("dur")("Slider"));
if(t<0){
value
}else{
random(linear(t,myDelay,myDelay+dur,startVal,endVal))}
}else
{
value
} -
Peter Zeet
July 2, 2016 at 1:27 am in reply to: changing a property on every group inside shape layers via scripting?yay!! works perfectly, again, thanks!!!
-
Peter Zeet
July 2, 2016 at 1:00 am in reply to: changing a property on every group inside shape layers via scripting?thanks!!
I gave a try selecting just 3 shape layers, but the script only works on the first selected layer. I guess that’s due to the tricky nature of the shape layers contents and groups, right?anyway, it will save a lot of time, thanks!!
-
hi!
mmm it kinda works, but I had to tweak a bit the setup (maybe it has to be like this?)I had to:
1.change the expression to
s = thisComp.layer("yell");
r = s.sourceRectAtTime(time,false);
[(s.position + s.anchorPoint+ r.left+r.width)[0]] //on X pos, separated dimension
2.change the Ball anchor point to its right
3. change the yell shape layer’s anchor point to its leftand this way, it works.. otherwise, it was waw super offseted from the line
it’s weird, but it works 🙂 -
oh! sorry for the awful explanation, here what I mean:

I was going to use the technique described on the early posts of the thread, but I wanted to do it getting rid of the copy the patm paste as position, etc, so I was wondering if an expression like the one I used, but tweaking the 423 and 1395 values inside of the linear, so instead if the actual X coords I could use the margin left and right of whatever the width of the path could be, making it work always, so the circle is always following the end trim…