Expressions/Scripts/Presets

Moderators: Disciple, zlovatt

 
dogma
Topic Author
Posts: 2
Joined: Sun May 18, 2008 12:32 pm

Distribute Layers on a spiral

Sun May 18, 2008 1:18 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: Thu Jun 17, 2004 9:27 am
Location: New York City, NY
Contact:

Re: Distribute Layers on a spiral

Tue May 20, 2008 6:49 am

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:

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: Mon Apr 30, 2007 5:55 am
Location: United States, Ohio

Re: Distribute Layers on a spiral

Wed May 21, 2008 5:34 am

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
Topic Author
Posts: 2
Joined: Sun May 18, 2008 12:32 pm

Re: Distribute Layers on a spiral

Wed May 21, 2008 5:56 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

Who is online

Users browsing this forum: No registered users and 2 guests