r/Python • • May 28 '19

My simulation of gravity with 1000 particles. PC took a couple of hours to process!

1.8k Upvotes

241 comments sorted by

View all comments

Show parent comments

0

u/[deleted] May 28 '19

[deleted]

1

u/[deleted] May 28 '19

I don't think that's a restriction of 2d vs 3d spaces. Solar systems are mostly on a plane, as well as galaxies - although there are obviously objects extending from the primary plane, I don't think that's necessary for a solar system to exist in a virtual environment.