A customizable, interactive point mass physics engine written entirely in Python with Pygame.
![]()
- Simulates soft-body physics using point masses and springs.
- Supports 2D physics with realistic deformation and elasticity.
- Mouse interaction for dragging and manipulating objects.
- Collision detection with walls.
- Adjustable parameters for stiffness, damping, and gravity.
- Debug mode!
- A simulation class for ease of use and parameter control.
- Quick reset!
- Python 3.8 or higher
- Pygame 2.0 or higher
- Left Mouse Button - Drag points or objects.
- Space - Resets the simulation with the reset function provided by the user.
Modify constants in config.py to tweak physics properties like gravity, damping, and stiffness.


