ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

3D Lissajous expression In after effects

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Valerio Rubino
3D Lissajous expression In after effects
on Apr 5, 2018 at 10:48:40 pm

Hi everyone,
I just came across an old post of this forum; https://forums.creativecow.net/thread/227/12642
Which explain how realize this 3d curve generated by an emitter and trapcode particular. what i'm trying to do is a lissajous 3d path in after effects or an emitter wich create a kind of stroke showing the lissajous curve. I was trying to "translate" this math expression(https://www.mathcurve.com/courbes3d/lissajous3d/lissajous3d.shtml) into a after effects expression but i do not manage in this.

Thanks in advance,

Valerio.


Return to posts index

Kalleheikki Kannisto
Re: 3D Lissajous expression In after effects
on Apr 13, 2018 at 5:44:56 pm

Would this help?

(from: http://www.davdata.nl/math/lissajous3d.html)

3D Lissajous functions have the general form
x = cos(..t)...
y = sin(..t)...
z = sin(..t)...

Sin and cos functions are interchangeble.

Example
x = 0.5cos(5t) + 0.5cos(4t)
y = 0.5sin(5t) + 0.5sin(t)
z = sin(2t)

Kalleheikki Kannisto
Senior Graphic Designer


Return to posts index

Valerio Rubino
Re: 3D Lissajous expression In after effects
on Apr 14, 2018 at 11:51:26 am

Hi, thanks Kalleheikki Kannisto for this help. a couple of days ago i managed with this function. what I did is write the expression in the position property of a NULL and after I've linked to this layer the position (xyz) of cc particle word. I change the comp setting with 120fps because the line painted from particle wasn't really smooth.

however, thanks to this help! I'll try to give to this community what I know.

t=time*8;

a=1;
b=1.3;
n=3/2;

x=a*Math.cos(t)
y=a*Math.sin(t)
z=b*Math.cos(n*t);

value + [x,y,z]*130;
_____________________

x=thisComp.layer("movement").transform.position[0]-thisComp.width/2;

y=thisComp.layer("movement").transform.position[1]-thisComp.width/2;
y/thisComp.width

z=thisComp.layer("movement").transform.position[2]-thisComp.width/2;
z/thisComp.width


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]