Josephbakulikira / Cloth-Simulation-With-python---Verlet-Integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Requirements

Pygame



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