-
falling calendar sheeets
Point control expression
life = 1.2; //life of particle
seedRandom(1,true);
delay = random(life);
if(time < delay){ age = 0; seed = 0; }else{ age = (time - delay)%life; seed = Math.floor((time - delay)/life) + 3; } [seed,age] Add this expression to the position property: minSpeed = 100; //minimum speed in y direction (pixels per second) maxSpeed = 150; maxDrift = 100; // maximum drift in x direction seed = Math.round(effect("Point Control").param("Point")[0]); age = effect("Point Control").param("Point")[1]; if(seed == 0){ [0,-10,0] }else{ seedRandom(seed,true); currSpeed = random(minSpeed,maxSpeed); drift = random(-maxDrift,maxDrift); origin = [random(0,thisComp.width),-10,0]; origin + [age*drift,age*currSpeed,0]; } Add this expression to the orientation property: m = 360; //max rotation speed in degrees per second seed = Math.round(effect("Point Control").param("Point")[0]); age = effect("Point Control").param("Point")[1]; if (seed == 0){ [0,0,0] }else{ seedRandom(seed,true); rotSpeed = random([-m,-m,-m],[m,m,m]) initOrient = random([360,360,360]); initOrient + rotSpeed*age } Finally, add this expression to the z-rotation property: m = 360; //max rotation speed in degrees per second seed = Math.round(effect("Point Control").param("Point")[0]); age = effect("Point Control").param("Point")[1]; if (seed == 0){ 0 }else{ seedRandom(seed,true); rotSpeed = random(-m,m) rotSpeed*age } I’m trying to create a calendar where the individual days of the month fall of the calendar. i’ve check out dan’s confetti tutorial on his site, but i’m having trouble placing the layers into the shape of a calendar. i need the calendar sheets to fall from the calendar and land on a “floor”. any ideas?