Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Extendscript replacement for the “velocityAtTime” function in AE expressions?

  • Dan Ebberts

    December 14, 2022 at 8:16 am

    I guess there would be a couple of approaches. One would be to sample the value at a small amount of time on both sides of the target time and use those to calculate the velocity. Or, temporarily apply an expression, harvest the value, and delete the expression.

  • tiger billy

    December 14, 2022 at 9:36 pm

    Thanks for the thoughtful reply Dan. Do you know if there is a way to view the source code for expression function definitions? Ideally I’d like my extendscript velocityAtTime function to be a 1:1 copy in order to avoid unanticipated issues due to assumptions on my part.

  • Dan Ebberts

    December 15, 2022 at 12:32 am

    I can’t imagine that the source code would be accessible. You might be able to reverse engineer something based on information that you do have access to, like the KeyframeEase object and cubic bezier formulas. Sounds like a bit of work though…

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