How to Animate a Number Counter in After Effects CC 2019 (Tutorial)

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ส.ค. 2019
  • Want to animate a clock? Or maybe a countdown? Today I'm going to show you how to animate a number counter in After Effects! Using expressions, there's endless amount of things you can do with this!
    Expression - ".value.toFixed(0)"
    Hopefully this tip helped you! Are there any other tutorials or tips you want me to make? Let me know down below!
    JOIN MY DISCORD:
    / discord
    EDITING/GAMING PC:
    amzn.to/2Qmycr1
    CAMERA GEAR:
    amzn.to/2FftiWB
    GROW YOUR CHANNEL FAST:
    www.tubebuddy.com/techinfusion
    Social: / techinfusion | / techinfusion | / techinfusion
    Website: techinfusion.net
    #aftereffects #expressions
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 175

  • @TechInfusion
    @TechInfusion  4 ปีที่แล้ว +22

    Thanks for watching guys, I really appreciate the support!
    Do you guys want to learn more about expressions?

    • @shannehodgson4534
      @shannehodgson4534 3 ปีที่แล้ว

      Great tutorial thanks man

    • @lindseyconnors3481
      @lindseyconnors3481 3 ปีที่แล้ว +3

      How do I add in a comma so that the number upticks $1,000 and beyond???

    • @didiana175
      @didiana175 2 ปีที่แล้ว

      yes!

    • @mysteriumxarxes3990
      @mysteriumxarxes3990 2 ปีที่แล้ว

      yes, I wanna know how to add a dot after 3 numbers (like 1.000.000) and how to use more numbers (instead of starting at 0, start at 00, and go like 01, 02, 03 and on. or 000, or even 0.000)

  • @lynseydenise
    @lynseydenise 3 ปีที่แล้ว

    This was amazing and easy! I have been trying to figure out how to do this for the past two days. After consistent searching for automated number counters, this video came in handy. Thank you!

  • @BrodyLando
    @BrodyLando 4 ปีที่แล้ว +1

    Great video dude. Detailed and easy to follow. Saved this in my playlist for After Effects for whenever I need it. Keep going dude!

    • @TechInfusion
      @TechInfusion  4 ปีที่แล้ว

      Packed Review Thanks man! Always happy to help.

  • @MarkEricksonArtist
    @MarkEricksonArtist 4 ปีที่แล้ว +1

    Loved this! I really needed this about 5 months ago for a date/calendar loop. It's really difficult to find a tutorial for this expression out there. Saving this for next time, thank you!

    • @TechInfusion
      @TechInfusion  4 ปีที่แล้ว

      Mark Erickson Very cool! Glad to help!

  • @vicenteziegler
    @vicenteziegler 2 ปีที่แล้ว

    THANK YOU SOOOOOOOOOOOOOOOO MUCH, i was trying a lot of complicated solutions, so thank you, you made my day!

  • @LinKaaxMu
    @LinKaaxMu 2 ปีที่แล้ว

    Thank you for sharing bro'! Clear, concise, and direct to the point. U R Z Best!

  • @jonb2897
    @jonb2897 3 ปีที่แล้ว

    so quick and concise. great video, thanks.

  • @csar9097
    @csar9097 ปีที่แล้ว

    Wow! A tuturial direct to the point! thanks!

  • @ajthomas1195
    @ajthomas1195 2 ปีที่แล้ว

    Awesome video! Thank you for the simple explanation

  • @adricspiteri1908
    @adricspiteri1908 11 หลายเดือนก่อน

    Simple. Thank you so much for this clear tutorial!

  • @bmxDRAMAqueen
    @bmxDRAMAqueen 3 ปีที่แล้ว

    Super helpful! Thank you for getting right to the point

  • @velrethar
    @velrethar ปีที่แล้ว

    Awesome succinct tutorial on this. Thanks for the info!

  • @jeanalesi6923
    @jeanalesi6923 3 ปีที่แล้ว +1

    Dude, ure the bomb. Every aspect I needed in my percentage counter you covered!

  • @NickRossi
    @NickRossi 2 ปีที่แล้ว

    Thank you SO much! A beautifully done and economical tutorial!

  • @nastiasverenyak2560
    @nastiasverenyak2560 3 ปีที่แล้ว +2

    thank you so much for this tutorial!

  • @bananasunshine7570
    @bananasunshine7570 2 ปีที่แล้ว

    You’re the best. Simply the best, as Tina would say.

  • @HassanGhazawi
    @HassanGhazawi 4 ปีที่แล้ว +1

    Thank you, easy and simple

  • @ulti.matt04
    @ulti.matt04 3 ปีที่แล้ว

    really simple and helpful video thank you so much

  • @mathiaskilcher7373
    @mathiaskilcher7373 2 ปีที่แล้ว

    Awesome tutorial... really on point :)

  • @miguelhernandezveliz478
    @miguelhernandezveliz478 3 ปีที่แล้ว

    Nice one mate! Very effective (Throwback to pokemon for gameboy) You are a star!

  • @cliftoncockburne290
    @cliftoncockburne290 3 ปีที่แล้ว

    This was awesome! thank you so much :)

  • @AlonsoMontero
    @AlonsoMontero 3 ปีที่แล้ว

    Super helpful, thanks so much!

  • @NilabhUmredkar
    @NilabhUmredkar 3 ปีที่แล้ว

    Thanks for the quick tip!

  • @MarViLand
    @MarViLand ปีที่แล้ว

    Thank you very much, you save my evening.

  • @youniqentertainment
    @youniqentertainment 4 ปีที่แล้ว

    Super Easy and Highly Recommend.

  • @daz4life
    @daz4life ปีที่แล้ว

    Great explainer!! Thanks a lot!

  • @ohhlena1460
    @ohhlena1460 ปีที่แล้ว

    thank you so much this was helpful and short

  • @agw421
    @agw421 2 ปีที่แล้ว

    thanks! very easy to understand

  • @sardarmoynulkabir2112
    @sardarmoynulkabir2112 2 ปีที่แล้ว

    Thank you for this Tutorial

  • @markwaltersmedia6956
    @markwaltersmedia6956 ปีที่แล้ว

    thank you so much!

  • @jeffsdavis
    @jeffsdavis ปีที่แล้ว

    Thank you!

  • @rpkgraphiks9011
    @rpkgraphiks9011 3 ปีที่แล้ว

    Thanks, this helped me alot.

  • @puyadeportivo8541
    @puyadeportivo8541 ปีที่แล้ว

    Hello, thank you very much... It helped me a lot, fast and great

  • @CCAFO
    @CCAFO 2 ปีที่แล้ว

    This is nice and thank you!

  • @InstaTechHD
    @InstaTechHD 4 ปีที่แล้ว +1

    Showing off the good stuff bro I really need a PC to improve my editing skills😅 anyways you've earned a sub💯 keep it up

  • @abdulwahabolalekan583
    @abdulwahabolalekan583 3 ปีที่แล้ว

    This was amazing thanks alot

  • @MattRafferty1
    @MattRafferty1 3 ปีที่แล้ว

    Fantastic, thank you!

  • @jayantlakhmani9225
    @jayantlakhmani9225 2 ปีที่แล้ว

    Best of em all

  • @vlad.k22
    @vlad.k22 2 ปีที่แล้ว

    Super helpful thanks

  • @Wunba
    @Wunba ปีที่แล้ว +1

    Is there any way to have the numbers centered? So that when an additional digit appears the whole expression moves to the left. I have tried the align feature and the anchor point but nothing works.

    • @DavidBallard23
      @DavidBallard23 11 หลายเดือนก่อน

      Click on paragraph left and it stabilised it for me

  • @aboodgaming1408
    @aboodgaming1408 2 ปีที่แล้ว

    i love you bro you solved my big problem . i taken project from supreme surf company ad this was the lst animation which was left and now it is solved thanx bro

  • @tob_express
    @tob_express 2 ปีที่แล้ว

    very nice tutorial thank u so muchh

  • @zonaloca
    @zonaloca 2 ปีที่แล้ว

    Thank you very much... You really nailed on what I was trying to accomplish... other tutorials use the MathRound function but for long counters (100 in the span of 3 or 5 minutes..) things start to get out of sync really quick.
    Thank you again.. im suscribing. :D

  • @janellesain4548
    @janellesain4548 6 หลายเดือนก่อน

    Thanks!

  • @lakmal1st
    @lakmal1st 2 ปีที่แล้ว

    Thank you very much !

  • @waqasahmed7225
    @waqasahmed7225 3 ปีที่แล้ว

    Genuine person and video

  • @Lakesofmotion
    @Lakesofmotion 4 ปีที่แล้ว

    Thanks a lot for this 🙂

  • @KillingMrFusion
    @KillingMrFusion ปีที่แล้ว

    Thanks AGAIN!!!!!

  • @chriscrowd4946
    @chriscrowd4946 2 ปีที่แล้ว

    Perfect thanks!

  • @pw1482
    @pw1482 3 ปีที่แล้ว

    Great. Thank you.

  • @sufu5630
    @sufu5630 3 ปีที่แล้ว

    thank you thats helped me

  • @douglaszou9868
    @douglaszou9868 3 ปีที่แล้ว

    precise and efficient!

  • @perheiashdod2060
    @perheiashdod2060 2 ปีที่แล้ว

    THANK YOU!

  • @lukecarter9005
    @lukecarter9005 2 ปีที่แล้ว +7

    Is it possible to add in a comma after the third digit, once it gets there. i.e. you count from 1 to 1,400 but I want the "," to appear when appropriate...?

  • @JulioMercurio
    @JulioMercurio 2 ปีที่แล้ว

    this best video. thanks man

  • @rangerreview1780
    @rangerreview1780 ปีที่แล้ว

    I have a question. You showed ways to add symbols in front and at the end of the numbers. But is there a way to add something in between. I wanted to do a animation of a scale line going up for a piece of lumber. I want it to look like 1'10" (1 foot 10 inches). Is there a way to change the decimal to a foot symbol.

  • @Bachdebian
    @Bachdebian 3 ปีที่แล้ว

    Thanks So Much

  • @Dreadknight_Gaming
    @Dreadknight_Gaming 2 ปีที่แล้ว

    Great Stuff. Also is there a way to make this incremental value follow a path of a bar chart using a trim path\slider?

  • @nickjames5602
    @nickjames5602 3 ปีที่แล้ว +13

    Awesome tutorial, thank you! How do you enable commas in that expression? To display for example 10,000 as opposed to 10000? Thank you in advance.

  • @moddymadeye
    @moddymadeye 2 ปีที่แล้ว

    Thank you ☺

  • @reevzam9020
    @reevzam9020 ปีที่แล้ว

    nice helpful video

  • @juliafiji9060
    @juliafiji9060 2 ปีที่แล้ว

    Thank you a lot!!!!!!!

  • @Wheeelie402
    @Wheeelie402 4 ปีที่แล้ว +7

    I greatly appreciate this tutorial! Is there a way to keep the numbers centered as they increase?

    • @TechInfusion
      @TechInfusion  4 ปีที่แล้ว +3

      I believe if you move the anchor point to the middle it’ll recenter itself.

    • @cristinabarna7632
      @cristinabarna7632 3 ปีที่แล้ว +1

      If you change the paragraph setting to the text layer itself to be centered, then the count up should behave the same way :) Kinda like if you change the font or any other text property

  • @safedielnegro
    @safedielnegro 3 ปีที่แล้ว

    Hi, I have a question for you. In this exemple, how can I stop a random in a number? what is the expression to do that?
    I´m working with this expression:
    posterizeTime(2);
    random(1,41).toFixed(0)+"%";
    And I need to stop in 40. How can I do that?
    Tnkx a lot

  • @Anchalmidha56
    @Anchalmidha56 ปีที่แล้ว

    amazingggggg

  • @Asigron
    @Asigron 2 ปีที่แล้ว

    Thank you :)

  • @luisroquete2157
    @luisroquete2157 3 ปีที่แล้ว

    Thanks a lot.

  • @mrizals312
    @mrizals312 2 ปีที่แล้ว

    Thankyou

  • @stonehousy
    @stonehousy ปีที่แล้ว

    hey, thank you for tutorial! one question: is it possible to make a counter like that with data from an excel table which is not proportional?

  • @Jayblueproduction
    @Jayblueproduction 2 ปีที่แล้ว

    amazing

  • @imagianrk
    @imagianrk 3 ปีที่แล้ว

    Thanks bro

  • @elizabethdonnellan4034
    @elizabethdonnellan4034 2 ปีที่แล้ว +1

    Hey thank you so much for this tutorial! I really appreciate it. I just wanted to ask when I follow the expression to include the percentage, only at 0 does it have the percentage sign, the other numbers don't. What's the best way to fix this, and why does it happen? Thank you!

    • @Jay-wm2lx
      @Jay-wm2lx 2 ปีที่แล้ว

      Your text box is too small, the percentage sign is simply getting cut off
      Had that happen when i was playing with some bigger numbers

  • @puyadeportivo8541
    @puyadeportivo8541 2 ปีที่แล้ว

    FUE MUY UTIL GRACIAS

  • @shwarcs
    @shwarcs 2 ปีที่แล้ว

    Thanks

  • @MartinAaberge
    @MartinAaberge 2 ปีที่แล้ว

    Hi. Thanks for the tutorial. If I want it to count faster for the first X seconds and then slow down, is it possible to use this technique and edit the expression in some way?

    • @neuro_davinci
      @neuro_davinci 2 ปีที่แล้ว

      Same as any other animation, ease the key frames and change the velocity percentage untill you get the effect you're after. Not sure if there is a way to do it in expressions but this is what I did and looks fine.

  • @Kanjas19
    @Kanjas19 3 ปีที่แล้ว

    thanks :D

  • @srikanthlazarus
    @srikanthlazarus 2 ปีที่แล้ว

    Thank you so much brother _/\_

  • @abdulkamal5350
    @abdulkamal5350 8 หลายเดือนก่อน

    Nice

  • @Netzerland
    @Netzerland 3 ปีที่แล้ว

    Thanks! I have seen other ways to do it, but the expression didn't work. So thx (:

  • @precious.xoxo__
    @precious.xoxo__ 2 ปีที่แล้ว

    Can you set this to skip numbers? Like count down by every n numbers instead of just regularly by 1

  • @austinmelendez899
    @austinmelendez899 2 ปีที่แล้ว +2

    Awesome video. I have a question, is there a way to set the max value to something higher than 1,000,000? and can I also remove the decimal places when counting, so only have whole numbers? Thanks!

    • @Jarbrain
      @Jarbrain 11 หลายเดือนก่อน +1

      I know the question is one year old but it might help others. The slider has a max of 1,000,000... If you want to go beyond that, you can use the point controller, link the text to one of the axis like the X-axis and add the keyframes. This would make your number go beyond the 1,000,000 mark. All the best!

    • @austinmelendez899
      @austinmelendez899 10 หลายเดือนก่อน

      @@Jarbrain Hey! Thanks for the response regardless of time. I should've commented my solution at the time bcI did figure out a similar way to do it

  • @SabrinaModelle
    @SabrinaModelle 4 ปีที่แล้ว +1

    Awesome video, thank you! Is there a way to add a comma for a 6 digit number?

    • @TechInfusion
      @TechInfusion  4 ปีที่แล้ว +1

      Try using this expression:
      countTotal=57000;
      textBefore = "$";
      textAfter = "";
      n="" + Math.round(effect("Slider Control")("Slider")*countTotal/100); s="";
      for(i=0, l=n.length;
      i

    • @FemiSHair
      @FemiSHair 4 ปีที่แล้ว +1

      @@TechInfusion I got "expression error" when I tried this

  • @hemineko-chanamvs1192
    @hemineko-chanamvs1192 4 ปีที่แล้ว

    How do I make the numbers go up by 4 per second? Is there an expression? Thanks :)

  • @RooskieTV
    @RooskieTV 4 ปีที่แล้ว +1

    Awesome video man! Can this be played for something like a timer? I feel like I can use this for a "starting soon" timer on my live streams!

    • @TechInfusion
      @TechInfusion  4 ปีที่แล้ว +1

      RuskieTech Yes! You can make countdown timers. And you can make it do a whole bunch of cool effects.

    • @RooskieTV
      @RooskieTV 4 ปีที่แล้ว

      @@TechInfusion Nice!!

  • @orangevfxlab
    @orangevfxlab 2 ปีที่แล้ว

    Спасибо!

  • @adamphillips6747
    @adamphillips6747 3 ปีที่แล้ว

    Is there are way to put a Character before the negative if a number goes to negative?

  • @CharlizeMatthee
    @CharlizeMatthee 3 ปีที่แล้ว +1

    Hi there, I am late to the party. I would like to know if you could tell me how I would create a space, instead of a comma after my thousands. i.e 0 to 80 000. My slider works perfectly, but I don't know how to alter the expression to add that space once it hits the thousands. Please if you could assist, that would be super amazing.
    Kindest regards

  • @bassert1966
    @bassert1966 ปีที่แล้ว

    Hi! How can I add a colon (:) between the digits? Like 06:00... Thanks!

  • @fcam
    @fcam 2 ปีที่แล้ว +1

    for triple digits counter animation effect in #aftereffects
    x=Math.round(effect("Slider Control")("Slider")).toFixed(0);
    while (x.length < 3) x = "0" + x; x

    • @heyaoh5616
      @heyaoh5616 ปีที่แล้ว +1

      Thank you so muchhhhhh

  • @matric8130
    @matric8130 2 ปีที่แล้ว

    Can we do this in a website which already has numbers ? And want to run those numbers by editing , if so how ?
    Can you please tell

  • @flyinganchovy5267
    @flyinganchovy5267 3 ปีที่แล้ว +1

    how would you make it look like minutes?.... like 5:57. so I'd need to add in the : between numbers.

  • @itsmekevindsouza
    @itsmekevindsouza 4 ปีที่แล้ว +1

    Cool..

  • @alexspinola4835
    @alexspinola4835 4 ปีที่แล้ว +6

    what if I want my counter start with a double zero (00) rather than 1 zero?

  • @0420abhinav
    @0420abhinav 3 ปีที่แล้ว

    I want my counter to start with a double zero (00) rather than a single zero? How can I do it?

  • @JohannesLabusch
    @JohannesLabusch 3 ปีที่แล้ว

    Everything worked great for me, except the dollar sign. What am I doing wrong? Has this changed in AE 18.2.0?

  • @8Aoi.
    @8Aoi. 4 ปีที่แล้ว +1

    What about showing how to animate the red ring going around it as well while it counts up? 🥺

    • @TechInfusion
      @TechInfusion  4 ปีที่แล้ว

      If you follow my animated arrows and lines I show you how to use trim paths. You can use that for this circle effect.

    • @8Aoi.
      @8Aoi. 4 ปีที่แล้ว +1

      @@TechInfusion ok, thanks I'll have to look thru your channel and find it. This video was the first that popped up on my recommendations.

  • @barrywygel8969
    @barrywygel8969 2 ปีที่แล้ว +1

    Any way to add a comma to numbers over 1,000?

  • @wonderfulworld5366
    @wonderfulworld5366 22 วันที่ผ่านมา

    cool video. But i have a question: the percentage icon suddenly disappears when it reaches 100. what could be the problem? thanks for the reply.

  • @jengoldstein8113
    @jengoldstein8113 4 ปีที่แล้ว +5

    I want my % symbol after the number to be smaller, superscript How do I do this?

  • @xtigerbotjoe
    @xtigerbotjoe 2 ปีที่แล้ว

    Prob a shot in the dark given the age of this video, but how would you do this if you wanted it to read as a digital clock?