Distribute Layers on a spiral

Moderators: Disciple, zlovatt

Post Reply
dogma
Posts: 2
Joined: May 18th, 2008, 12:32 pm

Hi all,
this is my first message here and first approach to english forum, therefore forgive me some error, please!
I’d like to know how I can make a card movement in a spiral path as in a video that I’ve seen here
http://www.lobo.cx/
It’s the 6th video “stone of the kingdom” at 00.56 minutes.
Thanks a lot!
User avatar
lloydalvarez
Enhancement master
Posts: 460
Joined: June 17th, 2004, 9:27 am
Location: New York City, NY
Contact:

Hey Dogma,

You can make a layer move in a spiral by moving x on a sine wave, y on a cosine wave and z in time:

Code: Select all

x=Math.sin(time*10)*20;
y=Math.cos(time*10)*20;
z=time*100;
[x,y,z]

You can adjust the values are you see fit. In x and y the value that is multiplied * time is the frequency and the second value is amplitude.

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

To simulate what is in the video you mention, remember to move the layer's achor point to the bottom of the card.
"Up And Atom

No...No

Up And At Them!"
dogma
Posts: 2
Joined: May 18th, 2008, 12:32 pm

Whoaaa! ...it works!!!
but the rotation of layers and the animation of the other cards seem difficult to perform..
mmm.. I'll make some tests in these days
every other information is pleasant
Thank you!! Hvala lepa
Post Reply