How to convert this Parametric Equation into AE expressions?

Moderators: Disciple, zlovatt

Post Reply
hexart
Posts: 6
Joined: March 9th, 2005, 7:43 pm
Location: China

Image
hexart
Posts: 6
Joined: March 9th, 2005, 7:43 pm
Location: China

And, how to control the curvature or swings?
wyz
Posts: 3
Joined: May 23rd, 2005, 5:38 pm
Location: Barcelona, Spain

I don't get exactly what you are trying to do but to control the opacity with a Sine wave (or Cosine) I would do this:

p=Math.sin(time)

and then, since opacity is expressed as a percentile you just add this:

p*100

If you want to control the amplitude and frequency of the sine wave you can try this:

freq=2;
amplitude=10;
p=amplitude*Math.sin(freq*time);
p*100
hexart
Posts: 6
Joined: March 9th, 2005, 7:43 pm
Location: China

Thank you, wyz;
I solved my problem with your help.

Here is mine:

freq=0.05;
amplitude=1;
p=amplitude*Math.cos(freq*YRotation+6.3);
p*100
Post Reply