6
votes
1answer
139 views

Why doesn't my particle simulation end in a flat disc?

I've made a 3d particle simulator where particles are attracted to each other by the inverse of the square radius. The purpose of my experiment is to see if this alone would create a flat disk (like ...
0
votes
0answers
60 views

How to display particles [closed]

Not exactly physics question but physicist must have encountered this problem before. In my code I generate a table of six tab separated columns (x,y,z,type,charge,id). I want to create a 3d ...