-
Smoothness expression for a countdown?
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