Forums > Jitter

defining and moving particle attractor

November 21, 2010 | 11:38 pm

Is it possible to define and move an attractor like the one used in the Jitter JS tutorial, except using shiva and vishnu?


August 26, 2013 | 8:25 pm

^Anyone?

I know this is old but I’m trying to learn about particles in jitter and I haven’t seen an answer to this question.

It would be really nice if you could. But the force attribute in vishnu seems to only take forces in Cartesian coordinates. Is there a way to create a radial force using vishnu?


August 26, 2013 | 8:42 pm

And while I have your attention what is the best way to set up multiple particle emitters so that each emitter creates particles of a different color?

I have the following patch but I’m not sure how to color it.

– Pasted Max Patch, click to expand. –

August 27, 2013 | 1:07 pm

IIRC a lot of the Jitter Recipes have particle systems in them, a few "non-Hindu" ones as well.


August 28, 2013 | 8:35 pm

True. I suspect that the answer is that jit.p.vishnu cannot handle radial forces. I’m fine with that if that is the case. It is not too difficult to implement these things in javascript.

Regarding my second question, I can’t say that I have ever seen an example of multiple particle emitters. I keep running into fairly basic problems (e.g. how do you color the particles differently?) that make me wonder whether I am missing something important.

If anyone can point me towards an example of a patch that uses multiple particle emitters I would greatly appreciate it.

-Adam


August 31, 2013 | 3:00 pm

I figured it out my coloring issues. And learned a few things about jit.gl.mesh in the process.


September 1, 2013 | 7:01 am

Care to share?


Viewing 7 posts - 1 through 7 (of 7 total)