Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions falling calendar sheeets

  • falling calendar sheeets

    Posted by Ryan Fannon on October 9, 2008 at 4:41 pm

    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?

    Jon Burns replied 17 years, 5 months ago 4 Members · 6 Replies
  • 6 Replies
  • Dan Ebberts

    October 9, 2008 at 7:43 pm

    I don’t have time to flesh it out, but I think I would ditch those old expressions (I must have had a lot of time on my hands back then) and keyframe the sheet moving from the calender to its position on the floor. Then add some wiggle to the position, orientation, and z rotation. You’d want to ramp the amplitude of the wiggle up as it leaves the calendar and ramp it down again as it approaches the floor.

    Dan

  • Ryan Fannon

    October 9, 2008 at 8:08 pm

    that’s what i think. i’m animating one of the cells from each column in the calendar, saving as a preset and then applying it to the rest of the cells in the row.

    is there any way to tie all of the cells to a slider? so i could animate january 31st falling off the calendar all the way up to january 1st falling off the calendar with the slider.

  • Trent Armstrong

    October 17, 2008 at 7:10 pm

    You might be able to put ease() on each of the pages and tie the first point to a value of the slider and then the last point to a value of the slider.

    Maybe Jan 31 start = 0 and Jan 31 end = 3. Do that for each of the sheets with the three “sec” offset.

    Then animate your slider from 0 to 34.

    Trent

    Trent Armstrong – Creative Cow Leader
    https://www.dallasaeug.com

  • Jon Burns

    December 3, 2008 at 1:15 am

    Hey Ryan–
    Did you ever get the falling calendar days to work? Any chance you’d share your project so I don’t have to reinvent the wheel? Thanks man.

  • Ryan Fannon

    December 3, 2008 at 3:19 pm

    Hey Jon. Here is what I ended up doing.

    https://www.youtube.com/watch?v=7bRXdROdNHk

    I placed the 42 individual calendar cells in their own unique composition.

    I then nested those 42 individual compositions inside a 2000×2000 composition. I aligned the 42 individual calendar cell comps into the shape of a calendar and made them 3d layers. Seven rows. I then animated each individual calendar day falling to the ground. You can animate these however you like. I animated them starting at the right most cell on the bottom row.

    Once I had the entire calendar falling to the ground I just duplicated the 2000×2000 composition 11 times. I then offset the time of the 11 layers to play after the layer before it had completed animating.

    To make the pile on the ground look more unique. I faked the pile at the bottom. I created a pile of calendar cells in another comp and had them pop on screen after a few of the calendar sheets had fell.

    If you have any questions just ask. I realize it’s not the easiest solution nor does it have any expressions, but I was short on time and had to get it done.

  • Jon Burns

    December 3, 2008 at 5:02 pm

    Hey Ryan, thanks for the info….wow! I’m actually looking for some sort of flipping calendar day thing to signify the passage of time….know what I’m talking about? Like one of those day calendars that you rip off a page every day? You’d think someone out there has done it in AE but I can’t seem to find it. Anyway, thanks for the insight, I appreciate it….

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