Skip to content

A dynamic system of particles under the influence of a gravity-like force

License

Notifications You must be signed in to change notification settings

pragyandas/n-body-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

N-body system

This is a Barnes-Hut simulation of a n-body system. The Barnes-Hut algorithm is an approximation algorithm used for high performance simulations. It is notable for having order O(nlogn) compared to a direct-sum algorithm which would be O(n^2). To know more about how the algorithm works, check out this awesome article

Get Started

  • cargo build
  • cargo run

This project uses Amethyst Game Engine which supports both Vulkan and Metal rendering backends. This project uses metal, but if you are on Windows, update cargo.toml to set the features entry in the amethyst dependency table to vulkan.

Note: This project needs some more love and care to reach completion. That said, bodies do experience force and fly around!

About

A dynamic system of particles under the influence of a gravity-like force

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages