Creative Communities of the World Forums

The peer to peer support community for media production professionals.

  • Posted by Mohannad Talafeeh on January 21, 2014 at 4:57 pm

    Hi , I am creating a code in a design software package in which I need a function that works as same the (valueAtTime(time)) in After effects , however this is not provided as a built-in function ,so I’am wondering if is it possible to recreate this one or at least get a clue on how to program the function so I could us it in my software.
    Thanks

    Mohannad Talafeeh replied 12 years, 7 months ago 2 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    January 21, 2014 at 11:53 pm

    It completely depends on the tools available in your design environment, so it would be tough to help.

    Dan

  • Mohannad Talafeeh

    January 22, 2014 at 12:32 am

    Thanks Dan
    I believe that it has to do with writing multiple loops somehow one for the value and one for the time,in my software I have a built-in function that retrieves the time and value of a given key-frame , I guess that should help me .

  • Mohannad Talafeeh

    January 25, 2014 at 12:37 pm

    So, I’ve been doing some experiments during the weekend and what I came up with is that I should create a vector data type such x, where
    X[0]=time(current time)
    X[1]=property value
    Of course this setup supposed to maintain the relationship between the two inputs, so whenever the time is “5“ , it should retrieve the property value at that time , but my question is it possible to write this function (value at time ) in after effects from scratch , I’ve already had a similar experience with this type of code ,with the linear function and the (ease/in/out) functions , it turns out that they are based on the famous Robert Penner functions , so I’ve wrote them from scratch in after effects to make shore that they work as expected , and then modified there syntax to match my goal language and they worked perfectly .

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