2D Collision Simulation

A high school physics project that simulates 2D collisions between two point masses using conservation of momentum.

Technology Stack

PythontkinterCodeSkulptor3

Key Features

  • Interactive setup for two point masses in 2D
  • Direction, velocity, and mass controls for each object
  • Collision response based on conservation of momentum
  • Ported from CodeSkulptor simplegui to tkinter

About 2D Collision Simulation

2D Collision Simulation

Why

This physics final project was built to make conservation of momentum interactive instead of purely theoretical.


Interesting Technical Points

  • Two-point-mass collision simulation with user-defined mass and velocity
  • Interactive setup for direction vectors and starting positions
  • Ported from CodeSkulptor simplegui to a standalone tkinter app

What I Learned

I learned how to translate physics equations into a working simulation and how small UI decisions make a math-heavy project more approachable.