Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions 3D Lissajous expression In after effects

  • Kalleheikki Kannisto

    April 13, 2018 at 5:44 pm

    Would this help?

    (from: https://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

  • Valerio Rubino

    April 14, 2018 at 11:51 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

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy