Inspiration
I thought this would be a nice fun challenge to see if I could utilize pygame in a way so that it could create a fun little simulation for the user to watch.
What it does
All it does is take a set of variables from the user, and then launch a projectile using said parameters. It might also be able to help you with your Physics homework.
How I built it
I used python and the graphics module pygame, which allows for a constantly updating display. While suited for game creation, it does well when it comes to simulations as well.
Challenges I ran into
Being my first time using pygame in quite some time, I had to make many adjustments to work around this. There were many things I wanted to do a certain way, but because of either limitations or lack of experience, I wasn't quite able to do it.
Accomplishments that I'm proud of
In the end, I'm proud to say that the program turned out 100% functional and working. It may not be much, but its something to be proud of.
What I learned
I learned a lot about pygame and how it works, as well as further sharpening my python skills.
What's next for Basic Projectile Motion Simulator
There could be a momentum element in the future, where the user can place a wall to allow the projectile to bounce off of. There could also be other parts where different forces might act on the projectile (i.e. a racket or a gust of wind) either constantly or at certain distances. I also planned to create a graph at the end that showed the trajectory of the projectile, but I never got around to finishing it. Hopefully, I can implement this sometime down the line.
Log in or sign up for Devpost to join the conversation.