Introduce a scale factor
The representation of the structure seems a little compact, especially for large Ns. It would help the visualization if the spheres representing the particles were farther apart. Including a scale factor would allow the user to select the radius of the sphere which the particles move on.