Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Three-Body Problem Simulation

Three-Body Problem Simulation

An interactive, chaotic physics simulation of the classic N-body problem running directly in your browser.

Features

  • Real-time Physics: Runs a Newtonian gravity simulation using stable numerical integration.
  • Dynamic Trails: Visualizes orbital chaos with elegant, fading paths.
  • Interactive UI:
    • Adjust simulation speed on the fly.
    • Dynamically shrink or grow trail lengths.
    • Spawn anywhere from 2 to 10 bodies.
    • Restart the simulation instantly.
  • Pure Vanilla: Zero frameworks or external dependencies.

How to Run

Simply open index.html in any modern web browser.

Controls

  • Spacebar: Pause / Resume the simulation.
  • UI Panel: Use the sliders in the top left to adjust settings.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages