Forum Replies Created

Page 1 of 2
  • Obed Ampong

    April 7, 2020 at 8:55 am in reply to: Changing time from seconds to frames in expression

    Hello Andrei,

    Thank you very much.

    Regards

    Obed

  • Obed Ampong

    February 21, 2020 at 11:48 pm in reply to: Combining inPoint and outPoint Position Ease

    Hi Alex,

    I have fixed it. Thank you for support.

    Regards,

    Obed

  • Obed Ampong

    February 21, 2020 at 8:37 pm in reply to: Combining inPoint and outPoint Position Ease

    Hello Alex,

    Please when I modified it, I have encountered error a the last line.
    Thank you.

    Regards,

    Obed

    function easeInOutQuint(t, tMin, tMax, value1, value2){
    b = value1;
    c = value2-b;
    d = tMax-tMin;
    t = tMin < tMax ? thisLayer.linear(t,tMin,tMax,0,d) : thisLayer.linear(t,tMin,tMax,d,0);

    t /= d/2;
    if (t <1) return c/2*Math.pow(t,5) + b;
    t -= 2;
    return c/2*(Math.pow(t,5) + 2) + b;
    }

    duration = 1;

    start=[3000,-3000];
    destination = [960,540];
    exit = [-3000,3000];

    middle = (inPoint+outPoint)/2;

    v = time < middle ? easeInOutQuint(time,inPoint,inPoint+duration,start,destination) : easeInOutQuint(time,outPoint-duration,outPoint,destination,exit);

  • Obed Ampong

    February 21, 2020 at 8:06 pm in reply to: Combining inPoint and outPoint Position Ease

    Hello Alex,

    Thanks for the reply. Unfortunately, I am told there is are error inline 8. I would be glad if you could take a look at it for me.
    Thank you.

    Regards,

    Obed

    if (t < 1) return c/2*Math.pow(t,5) + b;

  • Obed Ampong

    February 20, 2020 at 7:24 pm in reply to: Quad easing

    Hi,

    I have fixed by following going through the forums. I go what I was looking for. Thanks

    Regards,

    Obed

  • Obed Ampong

    February 20, 2020 at 7:22 pm in reply to: Custom speeds when easing via expression ease(t,a,b,x,y)

    Thanks a lot.

    Regards

    Obed

  • Obed Ampong

    February 20, 2020 at 7:09 pm in reply to: Quad easing

    Just to clarify, I am easing on position property. Changing position without any keyframe. Starting from InPoint time with a duration of 1 second.

  • Obed Ampong

    February 20, 2020 at 3:58 pm in reply to: Quad easing

    Hi Kyung,

    Please, it was unsuccessful. it displaced error in line 9 of the expression.
    Thanks

    Regards,
    Obed

  • Obed Ampong

    January 4, 2020 at 3:09 pm in reply to: Offsetting Position Expression to InPoint Time

    Hello Andrei,

    Thanks for the reply. I managed to get it done by modifying the last line as you said.

    Regards,
    Obed

    t = linear(time,inPoint+startDur,inPoint+endDur,0,1);

  • Obed Ampong

    November 12, 2019 at 10:24 pm in reply to: Invalid node index

    WOW. DAN THANKS, IT WORKED

    REGARDS,

    OBED

Page 1 of 2

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