Animate Numbers in After Effects - How to add commas, decimals & symbols
Vložit
- čas přidán 12. 10. 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 - Jak na to + styl
Protect this man at all costs.
Thank you so much 🙏
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
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 🙌🏼
num = effect("Slider Control")("Slider").value.toFixed(0);
function addCommas(x) {
return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
}
addCommas(num)
THIS IS THE ONE THAT WORKED FOR ME.
same
thanks!
same
This is it. This is, functionally, the best ae tutorial I've ever come across
Who is this Guy actually ? The best teacher ever, no one of the best he is so humble 😁
Mate, You are a lifesaver. This is the most simplest, on point, easiest to understand video I saw regarding this. Thank you 3000! ❤
You saved my life dude, thanks, the only video that mentions the point instead of comma!
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.
You're honestly the MAN for this!
Amazing content man, happy that there are people like you helping fellow creators like myself 👍
Perfect tutorial. Thanks man!
This guy is definitely a hero
Blessings to you sir! This was an amazing video! Thank you!
Thank you man.
You literally answered all the questions.
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.
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 😂😂
This was awesome. Thanks for making it simple!
Its very cool! Thank You!
Perfect, thank you so much!
Great tutorial ... Thank u.. i learned to make own preset
thank you! this is what I need!
Thank you so much for the tutorial🙌
Great video with really valuable information. Thanks!
Thank you so much buddy
best tutorial i've ever seen
So helpful I was looking for this exact effect for so long.
Awesome tutorial - subscribed!
Thank so much. This video was very helpful for me
Thank u this was of great value!
This is such a great video, you are truly a lifesaver.
man!!! you just saved a soul🔥🔥
great video! highlights everything that you possibly need to know, keep it up
Thank you man it works
Bro, you're awesome!
you are a life saver man, Subscribed
Thank you so much! Been looking for a way to make this effect for a long time now!
You're very welcome :)
Thank you, sir, This is a good Tutorial!
Great stuff as always.
Thank you!
Excellent video, thank you very much sir.
Amazing🔥. Thanks🙏
great value bro ! please kaap it up!
simple and very helpful, thanks
You're welcome 😊
You are the best. Going to use this on my maps animation lol!
Thank you for figuring this out bro! Cheers! 🥂
All good man :)
tysm i seriously apprecaite it
You're only one video away. this one got me super motivated ... thanks man
It's so true :) You just need that one. Thank you so much for the super!!
thanks for the help bro 💖💖
A big Thanks to you 🙏
THIS IS THE BEST TUTORIAL! on this subject that I've seen, Thanks man
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 :)
100% completely agree
The angle!! The angle parameter! Yes thank you so much for this!
Thank you so much... this is a game changer
You’re very welcome! Love this effect so much myself
you are the best!!! tks a lot!
Keep up the hard work brother 🙌
Always! :D
THIS IS SO SIIICK Thank you
U r the Motivation Man..
YOU ARE THE BEST MY FRIEND
Best advice ever🎉
Perfect, tanks!
Great! Man thanks
Keep up the good content man, we appreciate it!
Thanks!!
I'm looking forward like this in another software, that is Davinci and Capcut
Thanks I was looking for it ! We want more cool ae effect tutorial 😊
More on the way!
very gooood tut❤
omg thank you, this saved me
No problem, it’s something that I’ve always struggled with so happy to share
man you are great
What a G! We're only one video away brother. Cheers.
Very good explanation❤
Thank you :)
Thank you legend.
Love from india ❤ you earned a subscriber
I was looking for this.. amazing and easy, super like and share
So glad to hear this :)
Thank you !
You’re very welcome!
Really Love Your Content ,
Thank you!
trust me.. this is everything 🥰😇
GENIUS
Thank u so much, im newbie !!!
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
thank you!!!
Thanks ❤
Thanks man
dude i just did it thanks
Nice Trick bro ❤
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.
You’re so welcome! & thanks for your kind words :)
@@Validationbro can you drop the sfx used in the timer
very helpfull thanks
Great content
Thanks so much bro,,,....
You’re very welcome!
Amazing Bro.. 🤗
In very easy step, u did it👌
Love from Pakistan 🇵🇰
Freaking amazing
GRACIAS CRACK!!!
Thumbnail is amazing
Thank you! :D For a simple design, I still spent a fair bit of time on it!
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
Hey There!
Thank you so much.
Hey :) no problem!
Amazing content
Thank you!
Great video! I used some of your tricks from the Ali video on my last short!
That's awesome man I'll be sure to check them out :)
wooooow it worked thanks
Awesome! I'm glad it did :))
Great video
Thank you :)
u rocks!!! tk u
great video
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.
I did indeed read your mind haha
@@Validation That's twice in a row haha. First ali abdaal tutorial and now this.
thanks a lot
You are a G bro
Thanks!
Wow THANK YOU! 🙏
thank you! wish i could give more, but I will when I can i get a lot of value from your tutorials.
@@Validation