Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Smoothness expression for a countdown?

  • Smoothness expression for a countdown?

    Posted by Brian Lee on May 21, 2014 at 7:30 pm

    Hi all! I recently was tasked with creating a countdown that moves every 5 digits instead of every 1. So I parented a slider control effect to the source text parameter of a text layer with the following expression on the slider:

    Math.round(value/5)*5

    This worked perfectly, however I would like to control how the numbers change between one another. Instead of the numbers simply disappearing and appearing, I would like them to cross dissolve into one another. So if the number 5 changes to 10, i would like the 5 to fade out as the 10 fades in on top of it. The effect i’m looking for is similar to the ‘smoothness’ parameter in the ‘range selector’ modifier on text layers.

    Is there an expression that I can add to achieve this?

    thanks!

    Brian

    Dan Ebberts replied 11 years, 12 months ago 2 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    May 21, 2014 at 7:55 pm

    I think you’d have to do it with two layers. The top layer would be one count ahead of the bottom layer. When the count changes, the top layer fades up from 0 and the bottom layer fades from 100 to 0. I haven’t tried it, but it seems like it should work.

    Dan

  • Brian Lee

    May 21, 2014 at 9:00 pm

    Hmm its not quite achieving the look I’m going for because doing it this way looks pretty messy until either layer is fully at 100% opacity. The numbers look jumbled. Could there be some kind of time delay expression or would there possibly be a different way of counting up in increments that would allow me to have control over the smoothness of how the text is appearing?

    Brian

  • Dan Ebberts

    May 21, 2014 at 9:58 pm

    What do you have so far?

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