In this video, I teach you how to code a counter expression in Adobe After Effects. After this tutorial you will be able to compose your own counting up number for your motion design project.
Regex expression:
.replace(/\B(?=(\d{3})+(?!\d))/g, " ");
The whole expression:
roundValue = Math.floor(effect("Slider Control")("Slider"));
integerPart = String(Math.floor(roundValue/100)).padStart(4,'0');
decimalPart = String(roundValue%100).padStart(2,'0');
separatedValue = integerPart.replace(/\B(?=(\d{3})+(?!\d))/g, ",");
"$ " + separatedValue + "." + decimalPart + "+"
Time chapters:
00:00 Intro
1:27 Basic setup
2:41 Rounding
3:50 Prefix and suffix
5:18 Decimals
7:50 Leading zeros
9:24 Thousands separator
10:28 Changing decimals
12:19 Outro
Subscribe for other stuff related to 2D and 3D motion design.
https://www.krystofjezek.com/
Follow me
Instagram / krystof.jezek
X / krystofjezek
Tiktok / krystof.jezek
In questa pagina del sito puoi guardare il video online ULTIMATE Count Up Expression - After Effects Beginner Tutorial della durata di ore minuti seconda in buona qualità , che l'utente ha caricato krystof 18 ottobre 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 298 volte e gli è piaciuto 13 spettatori. Buona visione!