Reputation: 450
I am trying to make a gravity simulation in Python3, I have objects which must move to represent the effects of gravity. Currently I am using pygame for this simualtion, but as my coordinates are floating point numbers (due to my calculation for new positions using a float for gravity) I would have to round them to integers and I am not too keen on losing accuracy.
Is there any python library/package that would be appropriate for such a simulation?
Upvotes: 0
Views: 167
Reputation: 11
I found a website with someone who seems to have done something similar to this using pygame Here try it out. Hope it helps.
Upvotes: 1