Something seems off about the simulation - once you get a big clump, it starts spinning faster and faster until it tears itself apart again.
Ignoring that, it's pretty neat - and runs decently fast as well.
Ignoring that, it's pretty neat - and runs decently fast as well.
But I suppose the collisions are (too) elastic, also there's the issue with the spinning.
But still you can see several concepts in action, and sometimes you get a big planet with a moon orbiting it.
If you restart the simulation a few times, you should eventually get something where everything forms into one clump with low initial angular momentum. If you keep watching from that point, you'll see the clump's rotation accelerate entirely on its own.
I'm not entirely sure on the cause, but it does seem to be a simulation flaw.