All Questions
4
questions
20
votes
3
answers
4k
views
Planetary simulation in python
I have created a program in python that calculates forces between bodies (i.e earth, moon and a hypothetical moon) and make them move according to the changes in velocity and forces. This is the code ...
4
votes
1
answer
791
views
Gravity simulation using Numpy and Pygame
This is a simple gravity simulator coded in Python 3.7 using Numpy and Pygame. I was wondering if it can be optimized further. Initially I had coded it using pure Python lists, using nested loops to ...
6
votes
1
answer
972
views
Golf Physics "Game"
Continuation of this post
I wrote a program in pygame that basically acts as a physics engine for a ball. You can hit the ball around and your strokes are counted, as well as an extra stroke for ...
8
votes
2
answers
1k
views
Golf game boilerplate
I wrote a program in pygame that basically acts as a physics engine for a ball. You can hit the ball around and your strokes are counted, as well as an extra stroke for going out of bounds. If I do ...