space-sandbox-sim
An experimental Python and Pygame sandbox for simulating gravitational bodies, collisions, and spring-connected structures.
Resources & Distribution
Source Code
Package Registries
I built this space simulation sandbox to experiment with interacting bodies and structures. It uses Python and Pygame to display gravitational motion, collision forces, and bodies connected by springs. The simulation combines Barnes-Hut gravity with local interactions and spring meshes, including structures that can merge or break apart.
The repository contains the interactive application and its model, controller, rendering, and event modules. The entry point is main.py. This is experimental code rather than a packaged application; the source is the place to inspect the current behavior and dependencies.
Browse the source, including the simulation entry point and physical models.