Skip to content

arjav0703/bevy-grav-sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c547db7 · · Jul 26, 2026

History

24 Commits
Jul 26, 2026
Jul 17, 2026
Jul 18, 2026
Jul 18, 2026
Jul 26, 2026

Repository files navigation

Gravity Simulator

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

Demo video

Screen.Recording.2026-07-26.at.5.45.04.PM.mov

Compilling

  1. Install Rust from here
  2. Clone the repository
git clone https://github.com/arjav0703/bevy-grav-sim.git

cd bevy-grav-sim
  1. Run the following command to build and run the project:
cargo run 

A window should popup

AI Usage declaration

Most of the code was handwritten and i used claude for debugging and refactoring here and there.

About

A gravity simulator written in bevy game engine (rust)

Resources

Stars

Watchers

Forks

Languages