N-Body Simulator – Interactive 3 Body Problem and Gravitational Physics
16 days ago
- #simulation
- #physics
- #three-body-problem
- The three-body problem is a famous challenge in classical physics, lacking a general closed-form solution.
- The simulator uses Newton's law of universal gravitation with a softening parameter to prevent numerical singularities.
- Supports multiple integration methods: Velocity Verlet (energy-conserving) and RK4 (higher accuracy but not symplectic).
- Includes preset configurations like the Figure-8 choreography and Lagrange triangular configuration.
- Features real-time physics, interactive controls, and timeline playback for orbital analysis.
- Energy metrics include total energy and energy drift, with indicators for simulation quality.
- Negative total energy indicates a gravitationally bound system, which is normal for stable orbits.
- Users can adjust parameters, share configurations, and provide feedback for improvements.