Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions whole number interpolation

  • whole number interpolation

    Posted by Jason Jantzen on November 16, 2012 at 2:19 am

    The subject might be kind of confusing at first, but my problem is very simple (ha!). I have a repeater on a shape layer animating the copies from 0 – 45. What I DON’T want to see are decimal values between keyframes because it yields shapes with partial opacity. Any ideas to force the interpolated values to whole numbers?

    Jason Jantzen
    vimeo.com/jasonj

    Jason Jantzen replied 13 years, 6 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    November 16, 2012 at 3:44 am

    Try this:

    Math.floor(value)

    Dan

  • Jason Jantzen

    November 16, 2012 at 3:53 am

    Always my hero, thanks Dan!

    Jason Jantzen
    vimeo.com/jasonj

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