You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I make generative art/animation (mostly in R) and I've been exploring your brilliant Particles library (inspired by your art) as I think there's massive potential for some really interesting pieces. Hoping I can get your help with an issue which could be a bug (but more likely I'm just misunderstanding something)
I'm working on some code where I want to create a simulation which reacts to a new (randomly generated) field force every 10 evolutions (10 is an arbitrary number - eventually this will be triggered by an audio input). Each evolution is plotted and exporting, capturing the simulation.
The idea is that the particles in the simulation will be 're-energised' every 10 frames, energetically reacting to the new field force.
What I'm finding however is that even though I have the velocity decay set to 0, the velocity decays to 0 after 20 frames or so and the following field forces don't have any effect.
I suspect I'm doing something wrong with the 'reheat' function but I can't find much in the way of documentation/examples.
Was wondering if you could possibly take a look at my code and let me know if you can see where I'm going wrong?
Hi Thomas, hope you're good.
I make generative art/animation (mostly in R) and I've been exploring your brilliant Particles library (inspired by your art) as I think there's massive potential for some really interesting pieces. Hoping I can get your help with an issue which could be a bug (but more likely I'm just misunderstanding something)
I'm working on some code where I want to create a simulation which reacts to a new (randomly generated) field force every 10 evolutions (10 is an arbitrary number - eventually this will be triggered by an audio input). Each evolution is plotted and exporting, capturing the simulation.
The idea is that the particles in the simulation will be 're-energised' every 10 frames, energetically reacting to the new field force.
What I'm finding however is that even though I have the velocity decay set to 0, the velocity decays to 0 after 20 frames or so and the following field forces don't have any effect.
I suspect I'm doing something wrong with the 'reheat' function but I can't find much in the way of documentation/examples.
Was wondering if you could possibly take a look at my code and let me know if you can see where I'm going wrong?
Any ideas/tips you can give are appreciated
Thanks
Joe
The text was updated successfully, but these errors were encountered: