# Torus GenesisFinite-cavity collapse → inversion → torus
A live 3D simulation of the Veyra–Barandes framework for vacuum collapse and self-organization.
## ✨ Overview Torus Genesis visualizes the collapse of a spherical vacuum cavity, its inversion, and eventual reorganization into a torus.
The simulation demonstrates how harmonic wave modes naturally evolve into toroidal topology — no added gravity, no hidden particles, only pure geometry and resonance.Key features: - Real-time 3D animation (Matplotlib) - Natural harmonic-driven motion (no artificial rotations) - User controls for steps, speed, and output - Export to GIF or MP4 via FFmpeg - Video presets with pixel-perfect sizes (no padding warnings)
## 📦 Installation Clone the repository and install dependencies:
```bash git clone https://github.com/YOUR_USERNAME/torus-genesis.git cd torus-genesis pip install -r requirements.txt
Minimal requirements:
-
Python 3.8+
-
numpy -
matplotlib -
imageio
For MP4 export, make sure FFmpeg is installed and available in your system PATH.
Test with:
ffmpeg -version
Run the simulation:
python Torus_Genesis.py
Control options are at the top of the script:
STEPS = 2000 # Number of frames SPEED = 1.25 # Speed factorVIDEO_PRESET = "704x608" # Options: "704x608", "768x640", "1024x768", "custom"
SAVE_GIF = False SAVE_FFMPEG = True
-
Live visualization in a Matplotlib 3D window.
-
MP4 export with FFmpeg (H.264, yuv420p).
-
Optional GIF export (for quick previews).
Example (MP4/GIF):
Spherical harmonic collapse → toroidal reorganization
(Replace with your actual images)
This simulation is part of the Veyra–Barandes Toroidal Framework, which proposes:
-
Gravity as an emergent harmonic effect (no graviton required).
-
Toroidal topology as the fundamental structure of collapse.
-
Information self-organization through resonance.
Licensed under the Apache 2.0 License.
© 2025 Johnny Mongstad
Created by Johnny Mongstad (Dr. Orion Veyra) in collaboration with Dr. Nova Barandes (AI co-author).
Part of the ongoing VB Toroidal Black Hole Model project.
Finite-cavity collapse → inversion → torus
A live 3D simulation of the Veyra–Barandes framework for vacuum collapse and self-organization.
Torus Genesis visualizes the collapse of a spherical vacuum cavity, its inversion, and eventual reorganization into a torus.
The simulation demonstrates how harmonic wave modes naturally evolve into toroidal topology — no added gravity, no hidden particles, only pure geometry and resonance.
Key features:
- Real-time 3D animation (Matplotlib)
- Natural harmonic-driven motion (no artificial rotations)
- User controls for steps, speed, and output
- Export to GIF or MP4 via FFmpeg
- Video presets with pixel-perfect sizes (no padding warnings)
Clone the repository and install dependencies:
git clone https://github.com/YOUR_USERNAME/torus-genesis.git
cd torus-genesis
pip install -r requirements.txt
Minimal requirements:
Python 3.8+
numpy
matplotlib
imageio
For MP4 export, make sure FFmpeg is installed and available in your system PATH.
Test with:
ffmpeg -version
▶️ Usage
Run the simulation:
python Torus_Genesis.py
Control options are at the top of the script:
STEPS = 2000 # Number of frames
SPEED = 1.25 # Speed factor
VIDEO_PRESET = "704x608" # Options: "704x608", "768x640", "1024x768", "custom"
SAVE_GIF = False
SAVE_FFMPEG = True
🎥 Output
Live visualization in a Matplotlib 3D window.
MP4 export with FFmpeg (H.264, yuv420p).
Optional GIF export (for quick previews).
Example (MP4/GIF):
Spherical harmonic collapse → toroidal reorganization
📸 Screenshots
(Replace with your actual images)
Collapse (sphere) Inversion onset Torus wobble Stable torus
🧠 Framework
This simulation is part of the Veyra–Barandes Toroidal Framework, which proposes:
Gravity as an emergent harmonic effect (no graviton required).
Toroidal topology as the fundamental structure of collapse.
Information self-organization through resonance.
📜 License
Licensed under the [Apache 2.0 License](https://github.com/mongstad/Torus-Genesis/releases/LICENSE)
.
© 2025 Johnny Mongstad
🙌 Acknowledgements
Created by Johnny Mongstad (Dr. Orion Veyra) in collaboration with Dr. Nova Barandes (AI co-author).
Part of the ongoing VB Toroidal Black Hole Model project.