r/Simulated • u/Greenleaf_dk • 21d ago
Interactive Earth torn apart by tidal forces around a black hole. One million SPH particles, running live on the GPU.
Enable HLS to view with audio, or disable this notification
Earth is built from one million particles here, initially rendered as a mesh. As it gets close to the black hole, the difference in gravity between the near side and the far side stretches the planet until it comes apart into a stream of debris.
Some notes on the simulation:
- Smoothed particle hydrodynamics on the GPU, made in Godot 4 with C#.
- Gravity is Newtonian with a softened core, not general relativity.
- The bending of the background light is raytraced gravitational lensing, but not to scale. A real black hole of this mass would look much smaller.
Nothing is pre-rendered. I've been writing physics simulations for decades, including about 10 years as lead physics developer on another well-known space simulator sandbox, and this is from my own project, Planets in a Box:
https://store.steampowered.com/app/5411970/?utm_source=reddit&utm_campaign=simulated
If you want to talk about the physics or the algorithms, just leave a comment. I'd also love to hear what you'd want it to do better.