Forums › Adobe After Effects Expressions › Interpolating by two’s ?
-
Interpolating by two’s ?
-
Navarro Parker
October 12, 2015 at 8:27 pmUsing 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 pmThis should work:
Math.round(yourNumber/2)*2
Dan
Viewing 1 - 2 of 2 posts
Log in to reply.