## effect of pressure in a nebula?

So... I'm trying my hand at programming an n-body simulation. For those of you unfamiliar, that is a simulation where every body attracts every other body. I have something effectively like this: