ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

# Christmas tree spiral

FAQ   •   VIEW ALL
 Christmas tree spiral 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 spiralon 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