Share your repls and programming experiences

← Back to all posts
First Post! Newton Cannon Simulation!
guimaraesry (1)

Hey, everyone! This is my first post on here and I made a simple physics simulator with the Newton's cannon.
I'm a beginner, please, don't judge me lol

You can use the left and right keys to increase or decrease the force. You can also use the "wasd" keys to move around the acene (I'm still working on it).
Use the key SPACE to launch some cannonballs, or use the button.
You can change the screen size in the "env.py" file

If there is something wrong with the code, if you can, please tell me. Thx :3

Comments
hotnewtop