In this tutorial, I will show you few methods of animating numbers in After Effect with help of a Slider Control or Angle Control effect. I will cover the following methods:
- Basic number animation with rounding numbers up
- Adding desired number of decimal points
- Adding custom prefixes and suffixes to your numbers e.g. $ or %
- Adding commas to your large numbers – this method uses expression and technique done by Sergei from UKRAMedia – please watch his tutorial for in-depth explanation
- And finally, most complex and unusual set up – adding commas, decimal places and prefixes to your large numbers, and displaying them in “correct” way e.g. – $ 350,000.52 (minus sign always in front of a prefix)
- Bonus – changing colour of your animation, if your number is positive or negative
Overall, it is very easy to animate numbers with a Slider or Angle control – they will act as your animation drivers of sorts. Simply, link “Source Text” of your text layer, to a slider, add keyframes and you a pretty much done. This way, you can play with keyframes and Graph Editor and really nail the look and speed of your animation.
Below, I will point out few important things for each method, to keep in mind. In each scenario, you have to add a Slider Control or Angle Control to your Text Layer. Then link your Source Property to your slider to create animation. Finally, add expressions below for different results.