Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE AFTER EFFECTS: HomeForumBasicsExpressionsTutorialsPodcastsMotion GraphicsTrainingCinema 4DFAQ

Random Scale Multiple Layers

Cow Forums : Adobe After Effects Expressions

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>
Random Scale Multiple Layers
by alek Ivanov on Nov 3, 2009 at 4:09:45 pm

Hey guys,
I would really appreciate if someone can help me out.
I have these vector layers that represent sun rays and I am trying to have a expression control over them in order to scale each one randomly (wiggle) over a period of time.
thank you.

Respond to this post   •   Return to posts index

Re: Random Scale Multiple Layers
by Dan Ebberts on Nov 3, 2009 at 7:02:57 pm

So what's the issue? Do you need wiggle to affect scale in only one dimension? Have you tried something and it didn't work? More info would be helpful.

Dan



Respond to this post   •   Return to posts index

Re: Random Scale Multiple Layers
by alek Ivanov on Nov 3, 2009 at 7:45:00 pm

Dan hello,
my problem is simple - > I have 35 layers of "sun rays" and I would like all of them to scale randomly (at a different scale and rate from one another) on the their Y axis but I was looking for the option of controlling that with a single slider rather than applying a wiggle on each one of them with different parameters.

Respond to this post   •   Return to posts index


Re: Random Scale Multiple Layers
by Dan Ebberts on Nov 3, 2009 at 7:55:26 pm

You could start with something like this:

minFreq = 1;
maxFreq = 3;
minAmp = 25;
maxAmp = 100;

seedRandom(index,true);
freq = random(minFreq,maxFreq);
amp = random(minAmp,maxAmp);
w = wiggle(freq,amp);
[value[0],w[1]]


If you wanted to, you could link the min and max parameters to sliders, or you could put the random part of the expression in sliders to caluclate freq and min and link your wiggle expression to those. Lots of options.

Dan



Respond to this post   •   Return to posts index

Re: Random Scale Multiple Layers
by alek Ivanov on Nov 4, 2009 at 9:07:16 pm

thanks

Respond to this post   •   Return to posts index

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>


FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]