Particle Simulator in Python (Rigid Bodies, Soft Bodies, Fluid and More!)
For the past few weeks, I’ve been working on a particle simulator, in which particles follow some simple rules that are similar to the way molecules interact. From these rules, more complex behavior can emerge. Springs, fluid, soft-bodies, breakable buildings and tearable cloths... you can simulate all of this and more using the simulator! It also has a handy GUI that allows you to easily edit simulations and play with them in real-time. So in this video, I’ll show you these simulations, how I made the simulator and how you can use the GUI to experiment with it yourself!
You can download the code from the GitHub-repository:
You can now also download it as a .exe file, though it is not recommended:
Music:
Candlepower by Chris Zabriskie is licensed under a Creative Commons Attribution-license ()
Source: