I would love to see a choice of initial conditions, one of which being a couple 'galaxies' of particles on a collision course.
Also, a way to reset the simulation without reloading the page would be nice.
Also, a way to reset the simulation without reloading the page would be nice.
There's even better methods that take O(n) time, like the fast multipole expansion ones.
Of course, you'd still need to fall back to N^2 for the nearest particles, or the accuracy would be unusably bad. But it's a much smaller N.