Peter Zeet
Forum Replies Created
-
oh! my bad! I should have been more specific!
-
hey!
yes, here it is!
Its very simple, just a plane with the formula and the decay snippet on itmany thanks!
-
Thanks Jim for the ideas!
Now I that have been messing around with adding decay to make it like a water drop decaying to 0, plus your fantastic tops to make the formula on/off, the issue now, is that that formula seems to be generated at frame zero, so none of the options mentioned below seems to work (even animating the enabled status didn’t make the trick), so I’m back again to trying to mess with the t value to make it not start until a desired frame.This is the formula I’m playing with
and my adaptation is (40*Sin(((u*6)-t*1.1)*pi*2.0)/exp(t*1-u))which is a variation of some of this Dan Ebbert’s decaying sine wave gold snippet:
amp*Math.sin(t*freq*Math.PI*2)/Math.exp(t*decay)A side solution may be linking the t value in the exp(t*1-u) so its always 0 until I say to be 1 (or some non zero value)
But it should be a better and simpler solution, I guess? -
Peter Zeet
April 29, 2019 at 7:46 pm in reply to: Scripting: shift markers from selected layers random within valueshi!
after some attempts, I think I couldn’t figure it out properly… any ideas on this? I’m a bit lost
super thanks! -
Peter Zeet
April 10, 2019 at 12:43 am in reply to: Scripting: shift markers from selected layers random within valuesoh! thanks!
That works, but now I have a side effect… from here
after running the script, now it seems it is not removing the old markers anymore

mmm maybe I should add another removal?
-
Peter Zeet
February 1, 2019 at 3:55 pm in reply to: Controlling layers with identical animation but scattered over timelinehi!
sorry to bring this old post up
I’m trying to figure out how to adapt the expression to work with scale, so the layers can keep they relative scale, but no luck at all…So if a layer has a scale 75%, and the leader layer goes from 0 to 90, the follower layer goes to 75% as it maximum scale, and not to 90, or 90+value, etc
Maybe adding a linear() may work? or adding some scaleFactor? I thought it would be a quick one, but I’m a bit slow today
thanks!
-
Peter Zeet
January 9, 2019 at 12:44 am in reply to: end trim to reveal motion path dinamically createdany ideas?
I found this super old post, where maybe there is a possible way, it is about calculating the total distance of an animated motion track.
https://forums.creativecow.net/archivethread/2/540727#540907I think that distance can be used to measure the movin lead layer and then substract to the position til the end somehow?
Here is the code Dan Ebberts and Filip Vandueren came up with:
d = 0; //distance traveled
startPos = position.value_at_time(0);
endPos = startPos;
f = 0;precision=2; // doubled precision
while (f <= time/(this_comp.frame_duration/precision)){
startPos = endPos;
endPos = position.value_at_time(f*this_comp.frame_duration);
d += length(startPos,endPos)
f=f+(1/precision);
}
d
thanks!
-
Peter Zeet
August 20, 2018 at 3:35 am in reply to: How to target multiple keyframe to check their values from Slider Controlhi!
I have a question, but it’s probably pretty much complicated than I was thinking:
how could I add a simple duration when it goes from 100 to 0? so its like a simple fade every time)
I was trying to figure out with a linear function, but I don’t have idea how to know the time the value is 100 changing to 0, to add the duration to that valuethanks!
-
Peter Zeet
July 25, 2017 at 1:32 pm in reply to: layer marker triggers upscale-hold x frames-downscalefantastic!! I was coming with a super ugly and dirty solution, but this one is neat and simple! thaks!
I have a related question, but don’t know if it can make the previews take much longer as for the precalculations (and speaking about a lot of layers)
so: if I add a checkbox so if it is clicked it gets rid of the markers actions and let me use muy own keyframes and vice-versa? so if its not clicked it would use the code before, but getting totally rid of any manual keyframing?
-
Peter Zeet
July 25, 2017 at 10:10 am in reply to: layer marker triggers upscale-hold x frames-downscaleah
there is a ball, with a scale of [100,100], and when there is a marker, it goes from [100,100] to [80,80], stays at [80,80] during some frames, and then it goes back to [100,100]
giving a holding time of, per example .5 sec
so it would be:
100% scale ———–*marker* 80%scale —- holding time— 80%scale—-100% scale ————-*marker*etcetc——–