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?

November 4, 2014 | 10:29 am

I am attempting to have particles emerge from the edge of a circle, rather than a point. In the example above Adamlec opened my eyes to duplication of the matrix. I think that poly is the approach i should take to have a circle (of variable radius) produce particles. Would anyone like to confirm or redirect my suspicions? If you have bread crumbs please make them edible..some of us are new to Jitter ergo Flux capacitors* are beyond my ken.

*"No, You’d want to use Gen to make a N-Node Flux capacitor. Mind the genus-1 objects..they bite."

November 10, 2014 | 9:50 pm

Here is a version of a ring of Particles, based on 5 shiva/vishnu matrices. My goal is still to make a continuous circle that emits particles. Any suggestions on using poly~ to that end, or a better approach?


t
November 11, 2014 | 4:11 am

Check sendbody and sendbody_reset messages to jit.phys.multiple. You can basically define the coordinates where your particles/bodies would reappear or "emerge". So if you bang quickly all (one by one) the particles stored in jit.phys.multiple and modulate the position "in a circular way" (two sine oscillators maybe?) you should get what you want I guess…

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