Skip to content

A real-time 2D elastic collision simulator built with C++ and OpenGL. This project visualizes perfectly elastic collisions between particles, demonstrating principles of conservation of momentum and kinetic energy.

Notifications You must be signed in to change notification settings

ZeeBunny98/ElasticCollisionSim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

image

This an attempt to simulate perfectly elastic collisions using OpenGL, GLFW, GLAD, and C++. This physics simulator demonstrates the principles of conservation of momentum and conservation of kinetic energy through 2 boxes. The 1st box (larger) contains double the mass of the 2nd box (smaller). This attempt uses discrete collision detection and a low collision detection resolution which may lead to tunneling with higher velocities.

About

A real-time 2D elastic collision simulator built with C++ and OpenGL. This project visualizes perfectly elastic collisions between particles, demonstrating principles of conservation of momentum and kinetic energy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages