ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Animating Scale with Layer with layer control

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Eugene Constable
Animating Scale with Layer with layer control
on Jan 14, 2014 at 2:55:55 pm

Working on an animation for a beer company.

I have this world map image as an illustrator file.

I want to reveal this map from bottom to top with a slightly fluid feeling, think beer being poured from a jug. The dots actually represent the tops of pint glasses. Now, back to the After effects..

I figured:

create a black/white and grey wipe, using solid layers and a staggered linear wipe that wipes from bottom to top, revealing grey. Precomp these solids,

apply expression (taken from ECAbrams)

sourceLayer = thisComp.layer("Transition Control 2");
sampleSize = [1,1];
samplePoint = transform.position;
colour= sourceLayer.sampleImage(sampleSize,sampl­ePoint);

this should cause each dot scale up as the luminance of the sample point area changes with the wipe.
Causing each dot to pop up and settle back down to its resting size.


I separated these dots in AI to layers - there are over 1,300 layers and unsurpirsingly AE cant handle it.
it only just imported the file, let alone applying expression...lots of spinning beachball.
I think I need a different route, perhaps using Trapcode form or Particular.

Any suggestions most welcome,

Thanks in Advance!

Return to posts index

Walter Soyka
Re: Animating Scale with Layer with layer control
on Jan 14, 2014 at 3:19:33 pm

Form is a good idea, but it'd be hard to get the irregular layout you have here.

Particular would work better for the layout, but it'll be harder to control the particles' entrances.

sampleImage() is slow. What if you animated a few nulls from bottom to top and referenced their vertical position in the expression (plus or minus some small random amount for each layer) instead?

You could also split up the comp by continent to try to make it easier to work with.

Walter Soyka
Principal & Designer at Keen Live
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
RenderBreak Blog - What I'm thinking when my workstation's thinking
Creative Cow Forum Host: Live & Stage Events

Return to posts index

Eugene Constable
Re: Animating Scale with Layer with layer control
on Jan 14, 2014 at 3:54:34 pm

Hi Walter,
Thanks - little bit trickier than I first thought this - good call on referencing nulls pos instead although, not that expert on writing expressions (I vaguely understand this one from a tutorial..) I'll give it a go referencing nulls - will repost if I get stuck (quite likely!)

I think youre right about sampleImage being slow. Also divide up the artwork up seperate comps too..

Thanks again!

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved