Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions displaying multiple images

  • displaying multiple images

    Posted by Amit Zinman on September 5, 2008 at 4:11 pm

    Hi,
    I have 400 employee pictures that I need to display in 3 minutes.
    my plan is:
    1. Line all of them together
    2. Use the index value to display 3 pictures every second, by adjusting the scale property from 0 to 100 and than back to 0.

    Problem is, I am a bit weak on the math side and I need help calculating this.

    Amit

    Dan Ebberts
    replied 17 years, 7 months ago
    2 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    September 5, 2008 at 5:26 pm

    It seems like the easiest way would be to trim all the layers to the desired length, use Animation > Keyframe Assistant > Sequence Layers to arrange them end-to-end on the timeline and apply this scale expression:

    scaleTime = .1;

    if (time < ((outPoint - inPoint)/2 + inPoint)){ ease(time, inPoint, inPoint + scaleTime, [0,0], [100,100]) }else{ ease(time, outPoint - scaleTime, outPoint, [100,100], [0,0]) } Dan

  • Amit Zinman

    September 15, 2008 at 3:07 pm
    seedRandom(index,true);
    r = thisComp.layer("Null 3").effect("randomize length")("Slider")
    y = random(-r,r);
    ease(time, inPoint,outPoint, [-300 + y,y, (index/2)], [300+y,y,(index/2)]) 
    
    

    Below is the expression I ended up using for the Position.
    Problem is the I get too much overlapping of pictures.
    I’m thinking of reducing the X by some measure if it’s and odd index number and increasing it by X if it’s an even one.
    Can you help me with math?

  • Dan Ebberts

    September 15, 2008 at 3:17 pm

    Like this:

    if (index%2){

    // odd index code goes here

    }else{

    // even index code goes here

    }

    Dan

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