Skip to content

maxxu123456/physics-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Physics Simulation of Colliding Balls

Description

This is a physics engine for colliding balls. I implemented gravity, damping, collisions between balls and walls, and collisions between balls.

GIFs

A GIF of multiple balls colliding with no gravity.

A GIF of multiple balls colliding under the influence of gravity.

Instructions to Run

First install numpy and pygame. Use the latest version of python, preferably 1.12.

Run main.py!

About

A physics engine for colliding balls.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages