3-Body Sim 3D
3D Three-Body Physics Simulation
DESCRIPTION
Explore the chaos of a 3-body solar system with a configurable 3D Three.js physics simulation. Start simulating the world of 3-body now:
https://dkhdev.itch.io/3-body-sim-3d
!!! Download the video tutorial below
INSTRUCTIONS
VIEWPORT
- LMB + drag to look around.
- Zoom with scroll wheel or two fingers.
- Pan by clicking scroll wheel or using two-finger drag.
TERMINAL
- Access list of commands by entering
help resetdefaults all of the settings and restarts the simulation.restartrestarts the simulation.pausetemporarily freezes the simulation.resumeunfreezes the simulation.runstarts the simulation for the first time.debuglists statistics.clearclears the terminal.
PANELS
- Select the body you want to edit with the tabs.
- Edit visuals, the camera, and gravity constants with Global Settings.
- Edit masses, positions, and velocities with Selected Body Settings.
FEATURES
- Simulates the physics of a realistic 3-body system.
- Has adjustable simulation parameters.
- Compatible with a wide range of devices and runs in your browser.
- Rendered in 3-dimensional space.
- Easy to use UI.
- Neat vfx.
TECHNOLOGY
This project was made with Three.js and GitHub Codespaces.
I used them because I needed to render 3D graphics using JavaScript and make the simulation compatible with other devices.
CREDIT
Designed and built by me. AI was used to find tutorials and help debug code.
LICENSE
All code is free to use with credit.
| Updated | 8 hours ago |
| Published | 17 days ago |
| Status | In development |
| Platforms | HTML5 |
| Author | dkhdev |
| Genre | Simulation |
| Tags | 3D, javascript, Physics, three-body |
| Content | No generative AI was used |
Download
Download
TUTORIAL 34 MB

Comments
Log in with itch.io to leave a comment.
Cool! (this is @samkov i changed my username)
k
thanks! It's still a WIP but I'll publish the finished ver soon
cool