Uncategorized

AE Bounce and Overshoot Expressions

Just came across these. Why didn’t I find them soon?

Keyframe Overshoot Expression:

freq = 3;
decay = 5;

n = 0;
if (numKeys > 0){
  n = nearestKey(time).index;
  if (key(n).time > time) n--;
}
if (n > 0){
  t = time - key(n).time;
  amp = velocityAtTime(key(n).time - .001);
  w = freq*Math.PI*2;
  value + amp*(Math.sin(t*w)/Math.exp(decay*t)/w);
}else
  value

Add a little bounceback…

(more…)

Javascript number to number with commas trick

Came across this simple function that works nice in After Effects:

function numberWithCommas(x) { return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","); }

Now you can have rolling counters by just adding a custom slider control and keyframing the start and end values.

Free the Meat Clock!!!

For those who might be interested I am going to give a promo code good for a free download of “Meat Clock” (the original Meat Clock for iPhone and iPod Touch) to the first 5 people who use the contact form on this site to request it.  Please, only one request per person!

This is a great opportunity to share the love if you already own Meat Clock and would like to “re-gift” it to someone special.

In the event that you request a free code and the 5 person limit has already been reached, I suggest you include in your message an interesting or juicy story that might get you some sympathy, and possibly a free code…