Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orbit Simulator

A multi-body Newtonian orbit simulator made in Rust with egui. Click here to access the web version!

A screenshot of the native version of the orbit simulator

Features

  • Newtonian gravity simulation with as many bodies as your computer can handle
  • Collisions respect conservation of momentum
  • Panning by dragging with left-click or middle-click and zooming by scrolling
  • Tracking moving bodies with RMB > Follow
  • Built-in visual aids for Kepler's Second Law and force/motion arrows
  • Saving and loading of simulations to local files
  • Easy access via the web app
  • Tutorial guide to using the program on first open

Compiling

The development environment can be opened with Nix:

nix develop

From there you can run a native version of the program with:

cargo run --release

...or locally host the web version of the program with:

trunk serve --release

About

A multi-body Newtonian orbit simulator made in Rust with egui

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages