/2D-Cloth-Simulation

Simulation of a piece of clothing using C++ and SFML

Primary LanguageC++MIT LicenseMIT

2D-Cloth-Simulation

Captura de pantalla 2024-03-23 125944

Simple implementation of a 2D cloth in C++ and SFML, which is pulled down by the force of gravity.

User Input

  • Left Mouse Click: Drag the cloth
  • Right Mouse Click: Cut holes