Skip to content

Flubberschnub/Droplet

Repository files navigation

Droplet

About

Droplet is a simple n-body gravitation simulator.

Image

Droplet

Goals

  • Learn about n-body simulations
  • Improve my Python and Typescript skills
  • Improve my physics knowledge
  • Implement Barnes-Hut space partitioning

Current Features

  • Gravitational attraction between bodies
  • Force-softening to prevent singularities
  • Adjustable simulation speed
  • Adjustable number of bodies
  • Adjustable body attributes
  • Adjustable fundamental constants
  • Barnes-Hut space partitioning
  • Leapfrog integration
  • Saving and replaying non-realtime simulations

Planned Features

  • Better force-softening
  • Implement per-body force softening (using the Barnes-Hut tree and velocity)
  • Vectorization and Optimizations
  • Fleshed out runtime body creation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages