This is a simple desktop based gravity simulator built with Bevy game engine in Rust. It let's you spawn new bodies with mouse clicks and play around. You can use the slider to control simulation speed
Screen.Recording.2026-07-26.at.5.45.04.PM.mov
- Install Rust from here
- Clone the repository
git clone https://github.com/arjav0703/bevy-grav-sim.git
cd bevy-grav-sim- Run the following command to build and run the project:
cargo run A window should popup
Most of the code was handwritten and i used claude for debugging and refactoring here and there.