Page 1 of 1

Colour fan

Posted: October 3rd, 2007, 6:45 pm
by Shahird
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!

Posted: October 15th, 2007, 8:20 am
by jcarruthers
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

thanks!

Posted: October 15th, 2007, 12:39 pm
by Shahird
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

Posted: October 15th, 2007, 12:55 pm
by lloydalvarez
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

Posted: October 16th, 2007, 1:04 pm
by Shahird
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

Posted: October 17th, 2007, 5:38 am
by Atomic
Hmm...

That page not longer exists.

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

Posted: October 17th, 2007, 5:51 am
by lloydalvarez
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