Colour fan

Moderators: Disciple, zlovatt

Post Reply
Shahird
Posts: 3
Joined: October 3rd, 2007, 1:46 pm

Hi there

I'm very new to expressions but need to build a basic colour fan - the kind that you'd see at a paint store - showing you the spectrum of paints available.

like this:
http://farm1.static.flickr.com/24/12437 ... d1aeb8.jpg

i need the layers to be in 3d so that i can move a camera around them, but i'd like each of the layers to fan in and out, then zoom in on specific colours and panels (in my colour fan, there'll probably only be 10 layers i'd imagine)

the way i'm planning on doing this is by lining up each of the individual fan layers, then giving them all the same anchor point (the lower left hand corner) - then parent their rotation to a null layer -

to see the wheel fan out like a fan - there'd need to be an expression for each layer to fan out with a half second delay - i presume? This is probably a really simple expression - but if anyone has any ideas or tips - i'd be really grateful!
jcarruthers
Posts: 5
Joined: September 19th, 2007, 2:06 am

Hi there,


I'll give you some pointers.

On the rotation you want to add this expression:

Code: Select all

[index*4]
This would rotate each layer by 4 degrees.

To gain more control add a null layer called control and a couple of expression sliders and link it like this:

Code: Select all

[thisComp.layer("control").effect("rot_offset")("Slider")+(index*thisComp.layer("control").effect("rot")("Slider"))]

Hope that helps!


James
Shahird
Posts: 3
Joined: October 3rd, 2007, 1:46 pm

thanks for that - i've actually finished the job, and i just did it manually, because every expression i ran didn't work (my own ignorance) - but i'll have a play with this expression when i get some free time -

thanks a lot for replying - it'll help me get my head around expressions a bit more!

shahir
User avatar
lloydalvarez
Enhancement master
Posts: 460
Joined: June 17th, 2004, 9:27 am
Location: New York City, NY
Contact:

Hi Shahird

I just uploaded an AEP over at the adobe exchange which creates a color fan similar to what you describe. it's all driven by expressions..

Hopefully you can use it as a starting point.

http://www.adobe.com/cfusion/exchange/i ... id=1297023

ps.. it usually takes them a couple of days to approve uploaded content so the link might be dead until it is approved..

-Lloyd
Shahird
Posts: 3
Joined: October 3rd, 2007, 1:46 pm

hi lloydalvarez

wow! thanks for that - it hasn't become active yet, but i'm looking forward to seeing it - will really help me out.

will keep you posted.

shahird
User avatar
Atomic
Posts: 157
Joined: April 30th, 2007, 5:55 am
Location: United States, Ohio

Hmm...

That page not longer exists.

http://www.adobe.com/cfusion/exchange/i ... id=1297023
User avatar
lloydalvarez
Enhancement master
Posts: 460
Joined: June 17th, 2004, 9:27 am
Location: New York City, NY
Contact:

The page exists.. it just takes adobe a few days to approve new content.

In the mean time you can get the project here: http://shake.com/scripts/color_fan.aep.zip

Image
Post Reply