Barnes-Hut Gravity simulator written in Rust using the Bevy game engine. Currently it is entirely CPU-based.
Special thanks to
- Tom Ventimiglia and Kevin Wayne http://arborjs.org/docs/barnes-hut
- William Y Feng https://www.youtube.com/watch?v=tOlKLJ4WmSE
potential TODO
- add collisions
- add repulsive force at short range? (EM-like?)
- use a compute shader for 2nd half of algorithm
- interactive camera and/or addition of particles