TL;DR
I built a 2D N-body physics simulator to test if a universe could exist
inside a black hole. It works, but needs GPU power. MIT-licensed, seeking
collaborators.
π GitHub
The Idea
What if our observable universe is actually inside a black hole's event
horizon? It sounds crazy, but some physicists have seriously proposed this
("Black Hole Cosmology").
I decided to simulate it.
What It Does
- Simulates N-body gravity within a spherical "membrane" (event horizon)
- Models tidal forces near the boundary
- Tracks atmospheric evolution on planets (Oβ/Nβ generation)
- Uses mass injection as a dark energy analog
Results So Far
After 2000 epochs with 1000 bodies:
- 2.7% became "Gaia worlds" (breathable atmospheres)
- System shows Hubble-like expansion
- Mass conservation: 99.94% β
The Problem
I've hit my resource limits. The code is pure Python with O(NΒ²) gravity
calculations. To go further needs:
- GPU acceleration
- 3D implementation
- Access to HPC cluster
Why I'm Sharing This
The code is MIT-licensed. I'm not looking for authorship or citations -
just hoping someone with better resources might find this useful as a
starting point.
If you have:
- Access to GPU/HPC resources
- Interest in computational astrophysics
- Ideas for extending this
Feel free to fork and run with it! I'm happy to answer questions about the
implementation.
Tech Stack
- Pure Python (no NumPy/SciPy)
- ~500 lines of physics code
- Runs on Google Colab (free tier)
- Well-documented with verification suite
Links
- π GitHub Repo
Questions I'd Love Feedback On
- Are the physics assumptions reasonable?
- How would you optimize the gravity calculation?
- Is this worth pursuing in 3D?
Thanks for reading! π
Cross-posted to seek collaborators. Not spam, genuinely looking for
continuation of this research.
Top comments (0)