Inspiration

Collisions happen all around us. From playing billiards to car crashes. We wanted to create a simulation that taught people the basics of how momentum is conserved in a collision.

What it does

Currently, it allows the user to add masses and view the collisions with the other masses. All collisions are elastic which means that energy is also conserved.

How we built it

We used Java.

Accomplishments that we're proud of..

We are proud of the whole project as this is our first big programming project.

What we learned

How to do graphics on swing, how collisions work in terms of the angle that a circle deflects at, and how to use listeners in Java.

What's next for 2D Collision Simulator

  • Allowing the user to change the initial velocities of the balls
  • Adding elasticity slider to showcase inelastic collisions as well

Contributors

Heather Bosiljevac and Harsh Patel

Built With

Share this project:

Updates