Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 415 Bytes

File metadata and controls

7 lines (4 loc) · 415 Bytes

An n-body simulation in web assembly.

Demo simulation here.

Bodies interact due to the gravitational iteraction with each other. I used the Burnes-Hut algorigthm for improved time complexity O(nlogn) in the numerical integration and webgl for graphics in the browser.

Here is a blog post with more details and my experience in creating it.