Cloth is surprisingly simple to implement in Pygame. It's just the result of the combination of Verlet integration and a point restriction system.
Source Code:
https://dafluffypotato.com/static/clo...
Devlog Series:
• Devlogs
Discord:
/ discord
My Twitter:
/ dafluffypotato
Potato Tier Patrons:
Exotic124_
Keill
Outro Music is Pancakes by AdhesiveWombat
/ adhesivewombat
This video and the code produced in it are released under: CC0 1.0 Universal (CC0 1.0). This puts the video and code shown in it in the public domain, so use it for whatever you want.
#python #pygame