Brad Chmielewski
  • Home
  • Portfolio
  • Tutorials
  • Blog
  • About Me
  • Contact

Simple Counter Expression In After Effects

About Project

This is my first After Effects video tutorial so please take that into consideration. In this tutorial I go through the basics of how you add an expression in After Effects. I focus on setting up a simple counter expression using an expression and the slider control effect. Here is the expression used;


val = effect("Slider Control")("Slider");
numDec = 0; // digits to right of decimal
numDigit = 2; // digits to left of decimal
if (val < 0) sign = "-" else sign = ""; s = Math.abs(val).toFixed(numDec); while (s.length < numDigit + numDec + 1) s = "0" + s; sign + s


For more information on expressions in After Effects check out aenhancers.com and the tutorials by Harry Frank over at graymachine.com.

Software

  • After Effects

Recent Projects

  • Next
  • Prev
  • Animation Presets In After Effects

    Animated Cartoon Arrows

    Tracking With PFTrack

    Creating A Character Walk Cycle In After Effects

  • Expression To Drop Every 10th Frame In After Effects

    Keying Footage With Keylight In After Effects

    Basics Of Rotoscoping In After Effects

    Creating A Wipe With A Basic Mask Animation

About Brad Chmielewski

I’ve been creating motion graphics & animations for the past decade and with these skills I launched my own business in 2011; LooseKeys. At LooseKeys we are Animators, Editors & Storytellers who help companies large and small attract customers with creative videos.

Latest tweets

Flickr

    Subscribe

    Subscribe to my e-mail newsletter to receive updates.


    © Copyright 2002 - 2015 Brad Chmielewski. All Rights Reserved.