Forum Replies Created

Page 2 of 2
  • Hiro Ober

    October 7, 2015 at 3:24 am in reply to: Control the last 2 keyframes by the length of the layer

    Thanks again for the explanation! To be honest, I’ve never used multiple expressions on one property before, so I’ve spent 3 hours googling and try to learn how to save the result of the first expression to a variable, haven’t figured it out though…can I ask how?

  • Hiro Ober

    October 6, 2015 at 10:31 pm in reply to: Control the last 2 keyframes by the length of the layer

    Hmmmm…when I’m trying this fantastic expressions, I found another issue. Why won’t it work with an overshoot expression? I don’t see any conflict in these 2 script. Haven’t sorted that out. I’d be really appreciated if you may have time to point me to the right direction.

    I have pasted the overshoot expression I’m using on the same property together with the above one Dan has written.

    Thanks!

    if (numKeys > 0){
    n = nearestKey(time).index;
    if (key(n).time > time){
    n--;
    }
    }

    if (n == 0){
    t = 0;
    }else{
    t = time - key(n).time;
    }
    if (n > 0 && t < 1){
    v = velocityAtTime(key(n).time - thisComp.frameDuration/10);
    amp = .1;
    freq = 2.0;
    decay = 5.0;
    value + v*amp*Math.sin(freq*t*2*Math.PI)/Math.exp(decay*t);
    }else{
    value;
    }

  • Hiro Ober

    October 6, 2015 at 8:25 pm in reply to: Control the last 2 keyframes by the length of the layer

    OMG!! It works like a charm!

    It took me a while to understand it, thank you so much Dan!

  • Hiro Ober

    November 2, 2012 at 11:35 am in reply to: Looking for a render template solution.

    thanks a lot!i got some directions. guess i’ll try intellifolder first~

  • Hiro Ober

    March 23, 2012 at 9:33 am in reply to: Need suggestion on casting parallel light ray/beam

    Thanks Sooooooooooooo much John! Thank you for the adjustment! It’s definitely getting much closer than what I had last night! I’d follow your way and get my project tweaked.

    Well, I will be happier if I can get them real parallel to each other, if anybody has other idea, I’d be glad to know it:)

    Thank you again John!

  • Hiro Ober

    February 11, 2012 at 6:09 pm in reply to: Print layer names by timeline

    WOWWWWWWWWWWWWWWWWWWWWWWWWWW!!!!!That is SO exactly what I want!!!!!!!!!!

    Thank you so much Dan!! Bookmarked your site! I’ll definitely read thru it!

    Appreciate your quick reply!

Page 2 of 2

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy