Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expression Help. ‘Every 3 frames move right 1 pixel’?

  • Expression Help. ‘Every 3 frames move right 1 pixel’?

    Posted by Quentin Poynter on March 21, 2008 at 6:44 pm

    Hello,
    Im trying to solve an issue i am having with aliasing on sliding text.

    I would like to drop an expression on my text layer (bitpmap).

    ie, i want to slide the text 30 pixels over 90 frames.
    If i do that using simple keyframes, the text blurs a bit when not on an whole number frame( 30.3)

    Is there an expression i can use so that the text is moved one whole pixel, but not until 3 frames has passed?

    Thanks very much for any help!
    QMP

    Quentin Poynter replied 18 years, 5 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    March 21, 2008 at 7:11 pm

    Give this a try:

    value + Math.floor(timeToFrames(time)/3)

    Dan

  • Quentin Poynter

    March 21, 2008 at 8:20 pm

    thanks! exactly what i was looking for.

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