Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Interpolating by two’s ?

  • Interpolating by two’s ?

  • Navarro Parker

    October 12, 2015 at 8:27 pm

    Using a shape layer repeater, I have two keyframes going between values. And I’m using Math.round to make sure they are integers.

    But how can I make it only interpolate by twos?

    So instead of interpolating like this: 20, 19, 18, 17, 16…0
    it interpolates like: 20, 18, 16, 14, 12…0

  • Dan Ebberts

    October 12, 2015 at 8:41 pm

    This should work:

    Math.round(yourNumber/2)*2

    Dan

Viewing 1 - 2 of 2 posts

Log in to reply.

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