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