Skip to content

maximryzhov/simple-physics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-physics

An attempt at a simple rigid body physics engine in pure Python.

Features:

  • Rigid bodies with mass and restitution
  • Convex polygon collision detection (with separating axis teorem)
  • Impulse resolution
  • Single contact point detection

TODO:

  • Friction / damping
  • Gravity with turning effects
  • Equilibrium / stability
  • Optimization (currently it is very slow)

Requires pygame==1.9.4 and Python 3.6 to run

About

An attempt at a simple physics engine in pure Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages