SIGN IN
::
SPONSORS
::
ABOUT US
::
CONTACT US
FORUMS
LIBRARY
PODCASTS
BLOGS
MAGAZINE
SERVICES
NEWSLETTERS
NEWS
STORE
EVENTS
ADOBE AFTER EFFECTS:
Forum
AE Basics
AE Expressions
Tutorials
Articles
Podcasts
Motion Graphics
Training
Cinema 4D
Re: Spiralling particles effect
Cow Forums
:
Adobe After Effects Expressions
VIEW POSTS
•
ADD A NEW POST
•
SEARCH
•
CHANGE FORUM
Return to Posts Index
•
Read Entire Thread
•
Reply To This Post
Re: Spiralling particles effect
by
Lloyd Alvarez
on Jun 1, 2008 at 12:22:23 am
You can animate the position in a spiral by moving the x & y on a sine and cosine wave and z in time like this:
phase=0;
amplitude=20;
frequency=10;
z_stretch=100;
x=Math.sin((time+phase)*frequency)*amplitude;
y=Math.cos((time+phase)*frequency)*amplitude;
z= (time+phase)*z_stretch;
[x,y,z]
You can change the value of the phase (positive or negative) for your second strand so that they twirl around each other.
If you are using particular you'll need to split the expression out like this:
phase=0;
amplitude=20;
frequency=10;
z_stretch=100;
x=Math.sin((time+phase)*frequency)*amplitude;
y=Math.cos((time+phase)*frequency)*amplitude;
[x,y]
and:
phase=0;
amplitude=20;
frequency=10;
z_stretch=100;
z=(time+phase)*z_stretch;
-Lloyd
http://aescripts.com
Return to Posts Index
•
Read Entire Thread
•
Reply To This Post
Current Message Thread:
Spiralling particles effect
by Steve Blacker on May 30, 2008 at 7:16:06 pm
Re: Spiralling particles effect
by Lloyd Alvarez on Jun 1, 2008 at 12:22:23 am
Re: Spiralling particles effect
by Steve Blacker on Jun 1, 2008 at 1:16:20 am
Re: Spiralling particles effect
by yafes altun on Jun 5, 2008 at 7:33:50 pm
Re: Spiralling particles effect
by Steve Blacker on Jun 6, 2008 at 12:19:12 am
Note:
If you are a registered user and you
do not
see your name and email in the two respective fields above, you may reset your account cookies by clicking
here
. Your post
will not be accepted
if the name and email provided above are not currently registered in our database.
Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message
Entire Thread
None
Message
Note:
The following characters are HTML command characters, and may cause parts of your post to disappear, if not used correctly: < > &. To include any portion of the post in your response, highlight the desired text and hit the "Q" key. For more on how to post,
click here
.
Please post Expressions Code in the box below:
Add your message signature
Note:
By clicking "Post Direct" button above, you are agreeing to the Creative Cow's
Code of Conduct
.
FORUMS
•
LIBRARY
•
PODCASTS
•
BLOGS
•
MAGAZINE
•
SERVICES
•
NEWSLETTERS
•
NEWS
•
STORE
•
EVENTS
©
CreativeCOW.net
All rights are reserved.
[
Top
]