Skip to content

2D softbody physics simulation using Euler Integration. Made with C++, using OneLoneCoder's olcPixelGameEngine for rendering

License

Notifications You must be signed in to change notification settings

AlexanderNeo427/Softbody-Physics-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Softbody Physics Simulation

Description

Pressure soft-body model. Each of the circles represents a point-mass in space, and each of the white lines represents a spring that attempts to continuously resolve towards it's resting length. Uses simple Euler integration for the physics, admittedly imperfect as it is susceptible to issues if the timestep gets too large (notice how it gets stuck in itself sometimes).
Demo video can be found here

Reference material:

About

2D softbody physics simulation using Euler Integration. Made with C++, using OneLoneCoder's olcPixelGameEngine for rendering

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published