An open API service indexing awesome lists of open source software.

https://github.com/apozzi/cloth-simulation-py

A tearable simple Cloth Simulation using Verlet integration in python.
https://github.com/apozzi/cloth-simulation-py

cloth-simulation verlet-integration verlet-physics

Last synced: 7 months ago
JSON representation

A tearable simple Cloth Simulation using Verlet integration in python.

Awesome Lists containing this project

README

          

# Cloth-Simulation
A tearable simple Cloth Simulation using Verlet integration in python.
Libs: PyOpenGL only for graphics.

![simulation](https://adeveloper-image-host.s3.us-east-2.amazonaws.com/cloth-simulation.gif)

# About the method
Basically the verlet method calculate the next position without using velocity calculation
![velvet](https://wikimedia.org/api/rest_v1/media/math/render/svg/41ab6fd166ee416550c5b56342c5bf97bf95fba8)

Link: https://en.wikipedia.org/wiki/Verlet_integration

# How compile

``` python3 cloth-simulation.py ```

THIS SIMULATION ONLY WORKS WITH PYTHON 3!