Skip to content

iusekarma/physics2d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2D Physics Engine

A simply 2d physics engine which simulates motion, gravity and collisions between bodies.

This project was inspired by a youtube video by Pezzza's Work (video here) and a playlist by Two-Bit Coding (playlist here). Check them out for a physics engine made using C++ and C#.

Note: main.py is setup to simulate right gif (30 random circle bodies.)


Note: Only circle bodies are supported at the moment. Probably will add box bodies too.

Dependencies

  • numpy, for vector calculations.
  • opencv, for rendering.

Releases

No releases published

Packages

No packages published

Languages