Closed programmingmind closed 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
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