Thanks Chronos. I've started implementing some prototypes based around Virial now thanks to that link.
I was surprised a) just how complicated this area was and b) how there isn't much stuff already done in this area; examples that I could take as a starting point for my code...
I've been trying to locate an algorithm to model the distribution of stars in a spiral galaxy. Simple, I thought, I'll just Google it. However I quickly disappeared up my own black hole!
What I'm looking for is a simplified algorithm I can use to model n stars in a galaxy of size x (for...