NiftyNico / UniverseSim

MIT License
0 stars 0 forks source link

Barnes-Hut Simulation #10

Closed programmingmind closed 9 years ago

programmingmind commented 9 years ago

Follow something like this

http://www.cs.princeton.edu/courses/archive/fall03/cs126/assignments/barnes-hut.html

to use the Barnes-Hut Simulation to calculate forces. Using this can reduce the calculations from n^2 to n log n