Skip to content

Custom Cloth simulation that was created using c++ and raylib

License

Notifications You must be signed in to change notification settings

Biebras/Simple-Cloth-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Cloth Simulation

Made with c++ and raylib (Truly awesome library) You can run the program by double clicking app in the bin. Currentlly, it only works for mac users (however, you can make your own makefile).

Custom Cloth simulation that was created using c++ and raylib. The cloth simulation is done by following Hooke's law (F = -k * x):

  1. Create spring
  2. Join springs into system
  3. Enjoy cloth

Controls

Right click: Grab rope

Left Click: Cut rope

Screenshot 2022-10-22 at 23 36 35

Screenshot 2022-10-22 at 23 36 46

Screenshot 2022-10-22 at 23 37 02

Screenshot 2022-10-22 at 23 46 23

About

Custom Cloth simulation that was created using c++ and raylib

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages