Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions How to customize time expression

  • How to customize time expression

    Posted by Stephane Audrier on October 23, 2012 at 1:33 pm

    Hi !

    Does anybody can help me ?

    I would like to start “time” expression (set on Y rotation property) at a specific frame (frame 346, fps=25) and with a specific starting value (Y Rotation = + 180°) and then multiply that value by -25/seconde (time*-25) ?

    How can I do that ?

    Thanks.

    S.A

    Stephane Audrier replied 13 years, 6 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    October 23, 2012 at 1:46 pm

    I’m not sure exactly what you’re asking for, but is this close?


    startFrame = 346;
    startVal = 180;

    tStart = framesToTime(startFrame);
    if (time < tStart) startVal else startVal + (time-tStart)*25;

    Dan

  • Stephane Audrier

    October 23, 2012 at 2:29 pm

    Thank you very much Dan for your very quick answer !

    that’s it, just at the last line :

    startVal + (time-tStart)*25;

    Great !!!
    thanks again.

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