Skip to content

2d-simulation of a universe of planets and the newtonian forces acting on them using a quadtree

Notifications You must be signed in to change notification settings

morlinbrot/liniverse

Repository files navigation

liniverse

2d-simulation of a universe of planets and the Newtonian forces acting on them using a quadtree.

Usage

wasm-pack build

npm install

npm run serve

Docs

cargo doc --no-deps --open

Credits

Kudos to https://gitlab.com/medusacle/wasm-game-of-life of whom I stole the elegant setup for controlling the animation loop inside the WASM module.

Implementation of the Barnes-Hut algorithm according to http://arborjs.org/docs/barnes-hut and https://www.cs.princeton.edu/courses/archive/fall03/cs126/assignments/nbody.html.

About

2d-simulation of a universe of planets and the newtonian forces acting on them using a quadtree

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published