Implement Particle Life Simulation / Python / C++

Hey there,
I wanted you to ask if you think if it would be possible to implement this code into TD

github(dot)com/hunar4321/particle-life

I think it could be done with the C++ or Python Version, but sadly I don’t have enough coding skills myself. Could it be done with an external python module, because pygame has to be running for it to work.
Also I’m working on a Mac which might be important.

greetings Tim

Why and what exactly do you want in TD from this simulation? I ask this question because the answer to yours varies based on that. If you only wanted the pixel data (just the output) there are many ways you could share that to TD from an external process. If you wanted some parameters inside TD to control the simulation, you could send the parameters’ values to the external process running the simulation via OSC. However, if you want the simulation data and be able to control everything inside TD, then you would need to code it yourself, perhaps as a custom C++ node.

Yes, I thought it might be more comfortable to have it all in TD and control everything in it.