Galaxy Simulation
๐ Galaxy Simulation ๐
I developed an interactive simulation of a multi-body gravitational system. Despite its name, Galaxy Simulation, the project is not a literal galaxy model but rather a general N-body system governed solely by Newtonian gravity, with configurable initial velocities. The bodies are arranged in concentric, circular layers.
๐ช Users can experiment with key physical parameters such as:
-
โ๏ธ Gravitational constant
-
๐ Central mass (default: very large, acting as a dominant attractor or "black hole", but can be adjusted)
-
๐ Number of initial bodies
-
๐ Layer density
-
๐จ Initial velocity
-
๐ง Epsilon (softening distance)
-
โฑ๏ธ ฮt (time step)
โจ Dynamic features:
-
Expand or compress layers
-
Add or remove bodies at runtime
-
Return anytime to the settings screen
-
Real-time visualization of kinetic, potential, and angular momentum
-
In the two-galaxy mode, you can drag and reposition galaxy centers live, creating intergalactic interactions
๐ The result is a versatile platform for exploring celestial mechanics and emergent behaviors of gravitational systems — from simple two-body motion to complex galaxy-like structures.
๐ Educational value:
This simulation offers physics educators and learners a hands-on tool to illustrate:
-
Orbital motion
-
Conservation laws
-
The role of initial conditions in system evolution
By letting users manipulate parameters and instantly see the outcomes, the simulation helps bridge the gap between abstract equations and physical intuition.
๐ฅ๏ธ Developed in Godot 4.5.
Published | 5 days ago |
Status | Released |
Platforms | HTML5 |
Author | BoazRonZohar |
Genre | Simulation, Educational |
Made with | Godot |
Tags | astronomy, Gravity, interactive, Physics, Sandbox, science, Space, universe |
Leave a comment
Log in with itch.io to leave a comment.