Skip to content

Easy implementation of 2d physics. Features: particles, boxes, spring joints, soft bodies, inflated bodies, liquid-like simulation

License

Notifications You must be signed in to change notification settings

AndrewB330/LitWorld2D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo

LitWorld2D - simple 2d physics engine in 300 lines of code. It has following features implemented:

  • Particles
  • Boxes
  • Spring joints
  • "Inflated" bodies

This physics engine doesn't support impulse accumulation or warm-starting or any other "smart" techniques. So it is not very stable and sometimes can't converge. It is done for tutorials.

Dependencies

  • glm
  • glew
  • SDL2

Demo

Demo Demo

License

MIT License

Copyright (c) 2021 Andrii Borziak

About

Easy implementation of 2d physics. Features: particles, boxes, spring joints, soft bodies, inflated bodies, liquid-like simulation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published