I'm new in this site, that i discover recently. So first of all Hi !!! Please apologize my poor english since it's not my common language.
I'm a newby in expression and i have an animation to make :
I have 300 photos that i want to distribute over a solid of 3000 X 500 px. A camera over it will slide horizontally. Each time the camera will be on top of a photo, the photo will reveal gradually.
So i'v tried to distribute the photos with that expression :
Code: Select all
seedRandom( thisComp.layer("table").width , true ) ;
random( [width/2,height/2], [ thisComp.layer("table").width/2, thisComp.layer("table").height-height/2] )
To reveal the photos, i've used this (thanks Dan Ebbert for this piece of code):
Code: Select all
rampTime = 1;
if (thisComp.layer("Caméra 1").transform.position[1] <= transform.position[1]){
linear(time,time,time + rampTime,0,100)
}

I try my best to work on it on my own, but now i'm going nut. So please, can anybody help me ?