Cloth-Simulation-With-python---Verlet-Integration icon indicating copy to clipboard operation
Cloth-Simulation-With-python---Verlet-Integration copied to clipboard

Cloth-Simulation-With-python---Verlet-Integration

Requirements

Pygame


  • Check out my youtube channel for more: https://www.youtube.com/results?search_query=auctux
  • check out my website: https://www.auctux.com/
  • you can even simulate a rope physic with it
  • you can easily simulate a ragdoll if you tweak it a little

Controls

    LEFT_CLICK   ->  to select a point
    RIGHT_CLICK  ->  to deselect a point
    SPACE while  ->  selecting a point remove one of if joint
    MOUSE WHEEL  ->  click while a selecting a point make it a static point or lock node

sorry for the spaghetti , might rearrange the code later

Screenshot (55)

Unsolved issues

The simulation is slow when the parameter panel is on


Screenshot (54)

enjoy the 🍝 code