THURSDAY, SEPTEMBER 21, 2017
Font Size

Animations Presentations Info-Graphics Webdesign

Need Our Work For Your Project?

Friday, 08 April, 2016 11:01

How To Create A Number Counter In After Effects – Method 1

Number counters are quite often used in info-graphics and video presentations and is a cool way you can animate numbers.

Here is how you create a number counter in after effects.

Method 1: Slider Control Number Counter

This method is simple and you can animate very easy  the value of the counter.

By using this method we will create an animated number counter like this one:

Number counter

Number counter

  1. Create a new composition and make it the desired size and length (Composition >> New Composition)
  2. Create a background solid for your composition (Layer >> New >> Solid)
  3. Create a text layer where you will put the number counter; you can put any text in the field, write “bla bla bla” or whatever you want, as it will not affect the number counter (Layer >> New >> Text)
  4. Select the text layer and add a slider effect to control the value of the counter (Effects >> Expression controls >> Slider control)
  5. In the text layer click the down arrow to expose more parameters, click the text down arrow and while pressing ALT key (CMD on Mac) click the stopwatch near Source Text parameter. This will allow you to add an expression to the Source text and to link the Source Text value to the Slider control
  6. Click the expression pick whip (the spiral icon in the expression tools of the source text) and drag it over the slider control. This will link the value of the Source Text to the value of the slider control. Whatever value you put into the slider control it will show on the screen in the text layer. This actually ads an expression to the source text parameter: effect(“Slider Control”)(“Slider”).
  7. Create a starting key frame and put the value of the number you want to start counting (0 in our example)
  8. Create an end key frame where you want the counter to end and put the end value of the counter (100 in our example)
  9. If you test it now you may notice that the counter ads a lot of decimals and you may not want that. We need to modify the expression in source text. Click the expression and change it by adding Math.round(), like this: Math.round(effect(“Slider Control”)(“Slider”)). This rounds the value of the expression to the whole number.
    Math.round(effect("Slider Control")("Slider"))

Bellow you can see more details and images on each step:

1. Create a new composition and make it the desired size and length (Composition >> New Composition)

number-counter-create-new-ae-composition-01

number-counter-create-new-ae-composition-02

2. Create a background solid for your composition (Layer >> New >> Solid)

number-counter-create-new-solid-03

number-counter-create-new-solid-04

3. Create a text layer where you will put the number counter; you can put any text in the field, write “bla bla bla” or whatever you want, as it will not affect the number counter (Layer >> New >> Text)

number-counter-create-new-text-layer-05

number-counter-create-new-text-layer-06

4. Select the text layer and add a slider effect to control the value of the counter (Effects >> Expression controls >> Slider control)

number-counter-create-new-slider-control-07

number-counter-create-new-slider-control-08

5. In the text layer click the down arrow to expose more parameters, click the text down arrow and while pressing ALT key (CMD on Mac) click the stopwatch near Source Text parameter. This will allow you to add an expression to the Source text and to link the Source Text value to the Slider control

number-counter-add-expression-to-source-text-09

6. Click the expression pick whip (the spiral icon in the expression tools of the source text) and drag it over the slider control. This will link the value of the Source Text to the value of the slider control. Whatever value you put into the slider control it will show on the screen in the text layer. This actually ads an expression to the source text parameter: effect(“Slider Control”)(“Slider”).

number-counter-link-the-source-text-to-slider-control-using-pick-whip-10

7. Create a starting key frame and put the value of the number you want to start counting (0 in our example)

number-counter-create-starting-keyframe-11

8. Create an end key frame where you want the counter to end and put the end value of the counter (100 in our example)

number-counter-create-ending-keyframe-12

9. If you test it now you may notice that the counter ads a lot of decimals and you may not want that. We need to modify the expression in source text. Click the expression and change it by adding Math.round(), like this: Math.round(effect(“Slider Control”)(“Slider”)). This rounds the value of the expression to the whole number.

Math.round(effect("Slider Control")("Slider"))

 

Number Counter CS4 Method 1 Template .aep fileDownload Number Counter Method 1 CS4 Template .aep file

 

Click here to see Method 2: Source Text Expression

Vivian Vanatu

Vivian has been working in internet marketing for over 3 years. He has developed several websites and online businesses and seeks to educate people about how to use internet to grow their business. My G+ profile

More Posts - Website

Follow Me:
TwitterFacebookGoogle PlusStumbleUponYouTube

Be Social! Place Your Comments Bellow:

comments


Social NetworksEmail Facebook GooglePlus Vimeo Twitter Youtube Linkedin Xing RSS Feed Default


Course-specific creative-The Complete Web Developer Course - Build 14 Websites

CALENDAR

September 2017
M T W T F S S
« Apr    
 123
45678910
11121314151617
18192021222324
252627282930  
Top Courses in IT & Software 300x250

Latest Posts

Course-specific creative-Data Science A-Z: Real-Life Data Science Exercises Included
Course-specific creative-JavaScript: Understanding the Weird Parts
Course-specific creative-The Complete Ethical Hacking Course: Beginner to Advanced!

Latest Comments

Course-specific creative-iOS 9 and Swift 2: From Beginner to Paid Professional
Udemy

Latest Posts