Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Basic AE expression – subtract average value from current value

  • Basic AE expression – subtract average value from current value

    Posted by Danny Thompson on February 13, 2014 at 7:08 pm

    I’m looking to eliminate the jitter in a shot using a single point tracker. I am unsure of the syntax to use.

    I want to take the average value of the tracker over 5 frames and subtract the current x,y from that, so the x,y offset is for the jitter of the tracker only. How do I write this expression?

    Darby Edelen replied 12 years, 3 months ago 2 Members · 1 Reply
  • 1 Reply
  • Darby Edelen

    February 15, 2014 at 5:47 pm

    I think the smooth() method should do it for you:


    width = framesToTime(5);
    samples = 5;

    value.smooth(width, samples) - value;

    Darby Edelen

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy