FORUMS TUTORIALS FEATURES VIDEOS PODCASTS EVENTS SERVICES NEWSLETTER NEWS BLOGS
 ADOBE AFTER EFFECTS: Home Forum Basics Expressions Tutorials Podcasts AE Techniques Creative Cloud Debate FAQ

# Christmas tree spiral

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
 Christmas tree spiral by Ben Roberts on Oct 18, 2012 at 12:09:48 am

I'm trying to edit an expression which makes a perfect 3D Xmas tree spiral which a particle generator then follows.

I know this subject has come up before and I have tried to use some tips from this thread

However nothing looks as good as my first attempt.

So the current expression begins at the top of tree and builds outwards and downwards.

I need the expression to start at the bottom and build upwards and inwards.

Original Expression:

angle=-time*300;
z=time*50
center=[190,400,100];

Any help/point in the right direction would be greatly appreciated.

 Re: Christmas tree spiralby Dan Ebberts on Oct 18, 2012 at 1:30:21 am

If you're going to run it backwards, you need to pick a duration when the radius gets to zero. I've got it set 24 here:

maxTime = 24;

t = Math.min(time,maxTime);
angle= -(maxTime-t)*300;
z=(maxTime-t)*50
center=[190,400,100];

Dan

 Re: Christmas tree spiralby Ben Roberts on Oct 18, 2012 at 2:10:53 am

That's it!

I'm very grateful for your help Dan.

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