Animate Numbers in After Effects - How to add commas, decimals & symbols

Поделиться
HTML-код
  • Опубликовано: 12 окт 2023
  • This simple counter effect is great for telling a visual story when numbers are displayed on screen. So in this after effects tutorial I'll be showing you exactly how achieve this same effect and even how to create your own preset to save a tonne of time!!
    Just follow along and unlock a new effect...
    The expression you need:
    num = value;
    function addCommas(x) {
    return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
    }
    addCommas(num)
    Big shout out to @ukramedia and @JustinOdisho for laying the foundations on this one.
    Especially to ukramedia for his awesome tutorial here: • How to Add Automatic C...
    But I found that in order to fully get the most out this effect (like changing how many decimal points you want or adding symbols) I had to do more research and trial and error.
    But, it's your lucky day because you can skip all of that and have everything you need straight away to create this awesome effect!
    Please note: The links below are affiliate links. If you purchase a product or service through them I may receive a commission. This helps me run this channel.
    💡 My Gear:
    New Studio Mic: amzn.to/3RuoDGD
    Main Light - Aputure 120D II: amzn.to/41WUUrT
    Colored Light (Big) - Aputure p60c: amzn.to/3Aq19Zg
    Colored Light (Small)- Aputure MC: amzn.to/3otwmIk
    Main Camera: amzn.to/3oBUKHX
    Main Lens: amzn.to/43PkvEG
    Wireless Microphone: amzn.to/3V8FyOD
  • ХоббиХобби

Комментарии • 305

  • @kyletaos6527
    @kyletaos6527 2 месяца назад +49

    no matter how many times I watch this video, I always find myself coming back

    • @VezzEditS
      @VezzEditS 2 месяца назад

      Lmao fr..can't ever remember the expression lool

  • @wilhelmk4978
    @wilhelmk4978 7 месяцев назад +3

    Your AE tutorials are some of the best out there, keep up the great work bro you deserve way more subscribers and views. Stay with it man 🙌🏼

  • @review_maniac
    @review_maniac 7 месяцев назад +15

    Protect this man at all costs.
    Thank you so much 🙏

  • @tolugileh3826
    @tolugileh3826 Месяц назад

    You are an inspiration man! The way your videos are crafted, the pacing, your delivery, the music, It made for such a great learning experience.

  • @NosferatuG59
    @NosferatuG59 Месяц назад

    You actually explain everything perfectly and even tell us how to add text within the code. This was exactly what I have been searching for, a simplistic countdown for the next 40 days. Thank you so much for your help

  • @AchishkaNawagamuwa
    @AchishkaNawagamuwa 2 месяца назад

    Mate, You are a lifesaver. This is the most simplest, on point, easiest to understand video I saw regarding this. Thank you 3000! ❤

  • @milosblagojevicc
    @milosblagojevicc 7 месяцев назад

    Amazing content man, happy that there are people like you helping fellow creators like myself 👍

  • @stephanez
    @stephanez 4 месяца назад +2

    Who is this Guy actually ? The best teacher ever, no one of the best he is so humble 😁

  • @enlightened_youth
    @enlightened_youth 2 месяца назад

    Thank you man.
    You literally answered all the questions.

  • @elricardonoart-fr6qt
    @elricardonoart-fr6qt 2 месяца назад

    You saved my life dude, thanks, the only video that mentions the point instead of comma!

  • @JoseTheRover
    @JoseTheRover 2 месяца назад

    You're honestly the MAN for this!

  • @orlundoexplainsai
    @orlundoexplainsai 3 месяца назад

    Blessings to you sir! This was an amazing video! Thank you!

  • @AliEdits345
    @AliEdits345 3 месяца назад +1

    Saving as a preset is a life saver hack bro, this saves a lot of time. Thank you so much for creating these awesome videos, plz keep making such cool videos.

    • @topeanifalaje9583
      @topeanifalaje9583 2 месяца назад

      Hi @AliEdits345 do you know of any tutorial I can watch in order to learn how to save this as a preset? I find myself coming back to this video anytime I want to animate a complex number counter in After Effects 😂😂

  • @goosedaddy001
    @goosedaddy001 3 дня назад

    This is such a great video, you are truly a lifesaver.

  • @anant7195
    @anant7195 6 дней назад

    So helpful I was looking for this exact effect for so long.

  • @daviddaywon
    @daviddaywon 7 месяцев назад +5

    THIS IS THE BEST TUTORIAL! on this subject that I've seen, Thanks man

    • @Validation
      @Validation  7 месяцев назад +2

      I struggled with this effect for a while, so I wanted to make one that delivers everything you/ I needed. Thanks for the kind words :)

    • @tom93.1
      @tom93.1 3 месяца назад

      100% completely agree

  • @DevonSinaga
    @DevonSinaga 5 дней назад

    Thank you so much for the tutorial🙌

  • @ivansbetter
    @ivansbetter 5 месяцев назад

    great video! highlights everything that you possibly need to know, keep it up

  • @1satoo1
    @1satoo1 4 месяца назад

    This guy is definitely a hero

  • @BradenYoungVideo
    @BradenYoungVideo 6 месяцев назад

    This was awesome. Thanks for making it simple!

  • @vagabondfurax1483
    @vagabondfurax1483 5 месяцев назад

    Thank so much. This video was very helpful for me

  • @buntykinny
    @buntykinny 3 месяца назад +1

    Great tutorial ... Thank u.. i learned to make own preset

  • @antlerup
    @antlerup 5 дней назад

    Thank u this was of great value!

  • @peterbalint3536
    @peterbalint3536 16 дней назад

    Great video with really valuable information. Thanks!

  • @DaBaku420
    @DaBaku420 8 месяцев назад +2

    Thank you so much! Been looking for a way to make this effect for a long time now!

    • @Validation
      @Validation  8 месяцев назад

      You're very welcome :)

  • @tegolley
    @tegolley 6 месяцев назад +10

    You're only one video away. this one got me super motivated ... thanks man

    • @Validation
      @Validation  6 месяцев назад

      It's so true :) You just need that one. Thank you so much for the super!!

  • @DeathPrey777
    @DeathPrey777 5 месяцев назад

    Thank you, sir, This is a good Tutorial!

  • @user-jj9tx3ir9w
    @user-jj9tx3ir9w 2 месяца назад

    Perfect, thank you so much!

  • @2TheHandsome
    @2TheHandsome 5 месяцев назад

    Awesome tutorial - subscribed!

  • @toxic_viper1
    @toxic_viper1 Месяц назад

    best tutorial i've ever seen

  • @resproject1731
    @resproject1731 3 месяца назад

    Its very cool! Thank You!

  • @createwithakash7360
    @createwithakash7360 5 месяцев назад

    you are a life saver man, Subscribed

  • @nim358
    @nim358 7 месяцев назад

    thank you! this is what I need!

  • @GeoDab
    @GeoDab 2 месяца назад +1

    You are the best. Going to use this on my maps animation lol!

  • @SPASIVAFF
    @SPASIVAFF 8 месяцев назад +1

    Keep up the good content man, we appreciate it!

    • @Validation
      @Validation  8 месяцев назад

      Thanks!!

    • @daniwidimurtadho3427
      @daniwidimurtadho3427 8 месяцев назад

      I'm looking forward like this in another software, that is Davinci and Capcut

  • @mehdibudd6946
    @mehdibudd6946 26 дней назад

    Thank you man it works

  • @michealgraphics
    @michealgraphics 3 месяца назад

    man!!! you just saved a soul🔥🔥

  • @vba2469
    @vba2469 3 месяца назад

    The angle!! The angle parameter! Yes thank you so much for this!

  • @DisneysWire
    @DisneysWire Месяц назад

    tysm i seriously apprecaite it

  • @dream-weaving
    @dream-weaving 2 месяца назад

    Amazing🔥. Thanks🙏

  • @Youssef-yf6mh
    @Youssef-yf6mh 5 месяцев назад

    great value bro ! please kaap it up!

  • @FidelTshivhasa
    @FidelTshivhasa 3 месяца назад

    Bro, you're awesome!

  • @KrisCantu
    @KrisCantu 8 месяцев назад +1

    Thank you for figuring this out bro! Cheers! 🥂

  • @alex.sensei
    @alex.sensei 8 месяцев назад +2

    Thanks I was looking for it ! We want more cool ae effect tutorial 😊

  • @meltrax1
    @meltrax1 3 месяца назад

    Best tutorial out there for this effect hands down, thanks a lot!! Can you make a tutorial on how to blend your numbers/text/anything with your video? Like the examples you have on the video here, that will help a lot! Keep the great videos quality. Subscribed

  • @iva9
    @iva9 4 месяца назад

    you are the best!!! tks a lot!

  • @damiap_dennis_wapshik
    @damiap_dennis_wapshik 4 месяца назад +1

    Thank you so much... this is a game changer

    • @Validation
      @Validation  4 месяца назад

      You’re very welcome! Love this effect so much myself

  • @gd_motionline
    @gd_motionline 3 месяца назад

    A big Thanks to you 🙏

  • @RahulPal-xf9xm
    @RahulPal-xf9xm 3 месяца назад

    U r the Motivation Man..

  • @mohammedlhd
    @mohammedlhd 8 месяцев назад +1

    Keep up the hard work brother 🙌

  • @quizholo
    @quizholo Месяц назад +1

    simple and very helpful, thanks

  • @BijanIzadi
    @BijanIzadi 7 месяцев назад

    THIS IS SO SIIICK Thank you

  • @pakenobi
    @pakenobi 5 месяцев назад +1

    Great stuff as always.

  • @ernestor.salazar1619
    @ernestor.salazar1619 2 месяца назад

    YOU ARE THE BEST MY FRIEND

  • @hermanomarquesjr
    @hermanomarquesjr 7 месяцев назад +1

    Hey Bro! Greetings from Brazil! I loved your tutorial! It's a very important content. Is the best tutorial about this that I found. Thanks very much for doing it.

    • @Validation
      @Validation  6 месяцев назад

      You’re so welcome! & thanks for your kind words :)

    • @BedtimeStoryteller07
      @BedtimeStoryteller07 Месяц назад

      ​@@Validationbro can you drop the sfx used in the timer

  • @gintare_reels
    @gintare_reels 7 месяцев назад

    Best advice ever🎉

  • @chpug
    @chpug 6 месяцев назад

    Perfect, tanks!

  • @isuruchaminda5141
    @isuruchaminda5141 23 дня назад

    trust me.. this is everything 🥰😇

  • @prismwing
    @prismwing 3 месяца назад

    I don't have a video in progress that needs this, but I know it's inevitable so I'm gonna get this preset ready immediately :D

  • @rajurockzzz3234
    @rajurockzzz3234 6 месяцев назад

    Love from india ❤ you earned a subscriber

  • @malvi_tx
    @malvi_tx 6 месяцев назад

    What a G! We're only one video away brother. Cheers.

  • @skylight6216
    @skylight6216 9 дней назад

    Amazing Bro.. 🤗
    In very easy step, u did it👌
    Love from Pakistan 🇵🇰

  • @Dramastag_Theater
    @Dramastag_Theater Месяц назад

    dude i just did it thanks

  • @sameerrajput3584
    @sameerrajput3584 7 месяцев назад

    Great! Man thanks

  • @ThanhNguyen-hs5rs
    @ThanhNguyen-hs5rs 2 месяца назад

    Thank u so much, im newbie !!!

  • @Asmith3
    @Asmith3 8 месяцев назад

    very gooood tut❤

  • @ry5499
    @ry5499 Месяц назад

    Thank you legend.

  • @Ninjaasux
    @Ninjaasux 8 месяцев назад +1

    I was looking for this.. amazing and easy, super like and share

    • @Validation
      @Validation  8 месяцев назад

      So glad to hear this :)

  • @crushlimitsTm
    @crushlimitsTm 8 месяцев назад +1

    Very good explanation❤

  • @naeemraaz1295
    @naeemraaz1295 8 месяцев назад +2

    Really Love Your Content ,

  • @playingguruyt
    @playingguruyt Месяц назад

    man you are great

  • @AshfakSayyad-ed7hf
    @AshfakSayyad-ed7hf 2 месяца назад

    Thanks man

  • @purplesongs
    @purplesongs 7 месяцев назад +4

    what's that shutter sound effect that you have used in this video?
    thanks for creating such amazing video ❤

  • @alessandralichtenfeldfilms
    @alessandralichtenfeldfilms 5 месяцев назад +1

    omg thank you, this saved me

    • @Validation
      @Validation  5 месяцев назад

      No problem, it’s something that I’ve always struggled with so happy to share

  • @imamansaifi
    @imamansaifi 8 месяцев назад

    Thanks ❤

  • @johnaznar579
    @johnaznar579 5 месяцев назад

    very helpfull thanks

  • @pierresery652
    @pierresery652 2 месяца назад

    thank you!!!

  • @hayreezy44
    @hayreezy44 3 месяца назад +1

    Thank you !

    • @Validation
      @Validation  3 месяца назад

      You’re very welcome!

  • @SeoulForeigner
    @SeoulForeigner 8 месяцев назад +1

    This is amazing. Just watching to see whether this can be adapted for Apple Motion at the moment!

    • @Validation
      @Validation  8 месяцев назад

      Thank you! Yeah, not sure with apple motion or other software at the moment. Hopefully there is a solution

  • @user-df7gp5gp2h
    @user-df7gp5gp2h 8 месяцев назад +2

    Yow! Are you reading my mind? HAHAHA i've been looking for this tutorial and mg in envato and motion array. Thanks a lot. Been looking for 2 days now.

    • @Validation
      @Validation  8 месяцев назад +1

      I did indeed read your mind haha

    • @user-df7gp5gp2h
      @user-df7gp5gp2h 8 месяцев назад

      @@Validation That's twice in a row haha. First ali abdaal tutorial and now this.

  • @Yodha_Ram67
    @Yodha_Ram67 2 месяца назад

    Nice Trick bro ❤

  • @WisdomPillswithPJE
    @WisdomPillswithPJE Месяц назад

    Great content

  • @DiegoFuentes17
    @DiegoFuentes17 Месяц назад

    You are a G bro

  • @anggapermana9995
    @anggapermana9995 Месяц назад

    thanks a lot

  • @Yarosh25
    @Yarosh25 4 месяца назад +1

    Very helpful thank you so much! What's the sound effect in the first clip of the video? Can't find it anywhere

  • @thienthanhnguyen2810
    @thienthanhnguyen2810 7 месяцев назад +1

    Thanks so much bro,,,....

    • @Validation
      @Validation  7 месяцев назад

      You’re very welcome!

  • @reselling-geldverdienendur911
    @reselling-geldverdienendur911 Месяц назад +1

    wooooow it worked thanks

    • @Validation
      @Validation  Месяц назад

      Awesome! I'm glad it did :))

  • @kylegrangerrealestate
    @kylegrangerrealestate 8 месяцев назад +1

    Great video! I used some of your tricks from the Ali video on my last short!

    • @Validation
      @Validation  8 месяцев назад +1

      That's awesome man I'll be sure to check them out :)

  • @kiraribordy2650
    @kiraribordy2650 3 месяца назад

    Super helpful! Thanks so much for the clear explanation! That said- have you ever thought to add placeholder zeros into the counter? If so how would you do that without messing up all the other lovely bits of code? (For example the number would read 000,045 or some such and count up from there?)

  • @diegobarrios1090
    @diegobarrios1090 12 дней назад

    GRACIAS CRACK!!!

  • @loiclaynell
    @loiclaynell Месяц назад

    im using it

  • @abusayeed4787
    @abusayeed4787 4 месяца назад

    Freaking amazing

  • @user-gd6zz4vd5e
    @user-gd6zz4vd5e 4 месяца назад

    great video

  • @SochSamvaad
    @SochSamvaad 7 месяцев назад +1

    Amazing content

  • @trimpsuz
    @trimpsuz 6 месяцев назад +3

    To make the commas work with numbers that have 4 or more decimals you can edit the expression like so:
    num = effect("Angle Control")("Angle").value.toFixed(4);
    function addCommas(x) {
    return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
    }
    num = addCommas(num.toString().split('.')[0]) + "." + num.toString().split('.')[1];
    "" + num + "";
    This will only add commas to the whole numbers and the decimals will stay as they are, text in front and behind can be added inside of the quotation marks on the last line.

  • @FilmiSearch
    @FilmiSearch 8 месяцев назад +2

    num = " "+ effect("Angle Control")("Angle").value.toFixed(0) +"";
    function addCommas(x) {
    return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
    }
    addCommas(num)
    Final Text!

    • @Validation
      @Validation  8 месяцев назад +1

      Yep, just make sure you add an angle slider to your layer and you're right to go :) Thanks for this comment

    • @anastasiach3384
      @anastasiach3384 5 месяцев назад

      thanks!

  • @samuelbardez7546
    @samuelbardez7546 6 месяцев назад

    Thank you, this was really helpful. Do you know how can I add a editable number like this into a mogrt for premier users?

  • @user-oj3rm9lw7n
    @user-oj3rm9lw7n 5 месяцев назад +1

    Hey There!
    Thank you so much.

    • @Validation
      @Validation  5 месяцев назад

      Hey :) no problem!

  • @captaincolayt
    @captaincolayt 3 месяца назад

    GENIUS

  • @nahabsugab
    @nahabsugab 4 месяца назад

    thanks