This element was developed for the *Neu* project. The particle trail travels on a path defined by a sine wave, creating a lattice of a 3D object. Little, simple thing – but looks pretty

[flashvideo file=http://video.qubahq.com/qubaHQ_SineSphere.flv height=479 /]

Great! How did you define the path that the particle follows?

Hey,

It’s been a while, but as long as I remember I simply used a bunch of Math.sin(time*x) and Math.cos(time*x) to create the motion of the emitter on the sphere of a given radius.

Other way to do it would be to create two 3D nulls, one in the center and one offset by the length of the radius, parent the offset one to the central and rotate the central, then use expression like this:

l = thisComp.layer(“TheLayer”);

l.toWorld(l.anchorPoint);

to read the actual position of the child layer in space and link it up to the Particular producer.

http://twitpic.com/1bscaz .. Literally clueless to the math ( http://tinyurl.com/yeg37lt ) I just kept tweaking Dan’s code until I got the result I was after..

r = 200; //radius of sphere

Theta = Math.PI*time*5*Math.sin(10)/2;

Phi = Math.PI*time*1/2;

theta = ease(time,Theta,Theta);

phi = ease(time,Phi,Phi);

sinPhi = Math.sin(phi);

x = r*Math.cos(theta)*sinPhi;

y = r*Math.sin(theta)*sinPhi;

z = r*Math.cos(phi);

center = thisComp.layer(“Null: Center”).position;

center + [x,y,z]

Please, can you post AE file? I have bad luck to re-create this :/

Thx in advance.