Skip to content

emmabritton/cloth-sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloth/Rope sim

Video

Gif

Usage

  • Space - Toggle simulation execution
  • Left click - Add point
  • Right click - Lock point
  • Left click + shift - Delete point
  • Left drag - Create line from point to point
  • Left drag + ctrl - Move point
  • R - Reset
  • G - Create grid of points and lines
  • Esc - Quit

Known issues

  • It's possible to create a line from point to itself, this will immediately crash

Acknowledgements

Thanks to Sebastian Lague for the algorithms