Forum Replies Created

Page 3 of 3
  • hello again!! so i tried to work something on my own,
    so i added ‘+value’ to the end of the equation so i can use the key-frames to animate the child-layer separately…

    and it kinda worked! but sadly with no over-shot if animated with key-frames..

    p = thisComp.layer("Main Squar").transform.rotaion;
    tDelay = time -0.04;
    val = p.valueAtTime(tDelay);

    freq = 3;
    decay = 5;
    n = 0;
    if (p.numKeys > 0){
    n = p.nearestKey(tDelay).index;
    if (p.key(n).time > tDelay) n--;
    }
    if (n > 0){
    t = tDelay - p.key(n).time;
    amp = p.velocityAtTime(p.key(n).time - .001);
    w = freq*Math.PI*2;
    val + amp*(Math.sin(t*w)/Math.exp(decay*t)/w)+value;
    }else
    val

    Thanks in advance for all your help.

  • Dan!! Thank you veeery very Much!

  • Michel Salloum

    January 21, 2014 at 11:41 pm in reply to: Squeeze shapes like we do Photoshop

    Actually i found it in Effects – Distort > Warp
    with the squeeze preset, and it’s really helpful, thank you for your reply.

Page 3 of 3

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