News for hackers. Stuff that matters.
Re:Show HN: N-Body simulation using WebAssembly by petermcneeley on Thursday September 20, 2018 @04:19PM (#18035143)
Uses the Barnes-Hut algorithm to avoid O( n^2 ) force calculations in favor of O(n log n). Simple nearest neighbor tracking cannot be use in gravity simulations as gravity has an effective infinite ranged potential. https://en.wikipedia.org/wiki/Barnes%E2%80%93Hut_simulation

There are no comments on this comment yet.