defining and moving particle attractor
Is it possible to define and move an attractor like the one used in the Jitter JS tutorial, except using shiva and vishnu?
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?
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.
----------begin_max5_patcher---------- 913.3oc6YtsahCCDF9ZpTeGrx0TjOjDfdE6ywpJjgX.WkXm0wAna09tuN1.M 8.TGUHkRqTENwwI9e97jwyj930W0IXhbMqH.bK32fNcdzzSGaeU8zYaGcBxn qmlRKrCLPvVImbeP2MWSyVqs8eOW2adZICLZpLsLST.v6FzLoPKnYL6.+khS S2cIdhsSyi7Fb+c8lS0SWvEyGqXS0N8gGh5A6BBGBqZPnnpFr4DvcauKQYFW jxzVghqO4E7+ZmbD1bWOMZYo9UC20m9gbladqLrwYTshuNnKHH.bmcf+65qp ZMMcOJnyMC.BXVpjpIX.BBg.LXTdJUvxn4liIfvc2bJWvlJKE1mPXCAM9PfN xgVRD1BZnk2w38BZzWRPmK4F01XWTxgHWHbXMxMr+63g9ECb48VxKVHJMtjb ioCf8PfQOPWYNv3lVjyXIlCglimIUSYfaLmf.teL2irvbbTUuQ.3wwMNziEC bjsAEdg4Fm2qXAeIELJkOiY7x.iXYbs4002Fs3Fh1HePKjTKBAI7xLBAH5Eg jaZHiXOPIJxFr.M3BKlwJtHQtBjSUZ9zTSpFMicnClQPny8KxkO.psH2DpX9 GkYYrhB5b1qglyoqoX5fush5aITX3.aiCZCNV4Mg1KmNU9TyS6oXhDl5I2JS vOEsfM1j4oTY1lYyendGk8YPDOxKMZPamtzwvObebVCr.ELAzXeQrOvhDWCV GuWZI6EVVyohVmRpY1lHw87aFxP975KBdRPF5v9WW.U6TKkn86QRh+FTsSC8 KG5ga4y41OE67TwNtBcNZE6LviECb7lZcH+Tqi+jsuOjE8MnTm8WoyGAuwdf WTrq7GXzkCd+SFSqj.BrgQc8IWdDg3WTW74Rx.Z474or2xdC8vd6u6i852dL lBCLbVyTiYB5jTqQzXSlW4teJrX7WJK1My1P.u7+TfU9UW3EbnPVZ1SbyCc6 W1GTyFRXEZtfp4RQsQUU5P8QsfmjvDOyRR3EUVmkkv8uz3uvv9HLq7Qspvp1 aySg0xDKzKg8IrTF4kvBOWIFo8EVrWBKp0EleqjwsttF3UTL34otF15xxqf9 CZcYY2lA+tKijOGggNWEF7LTXdE.q+4Y7q1O7kW6C09Q6QQmodWUeWVOD1Gi XaRullmujoJ17ncZxTOw8RU04wccmyEtycovGnXK4auE2m9NfpLETnMUSTpb 0YtNNLvbE6DZ94+.rHVDOC -----------end_max5_patcher-----------
IIRC a lot of the Jitter Recipes have particle systems in them, a few "non-Hindu" ones as well.
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.
I figured it out my coloring issues. And learned a few things about jit.gl.mesh in the process.
Care to share?
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."
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…