Skip to content

Wicked-Prick/WebGL-Cloth-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebGL-Cloth-Simulation

WebGL Cloth simulation by Verlet integration method and calculation of the stress map in it.

The Cloth is represented as a grid of dots connected by rigid rods. During the simulation, the fabric changes color depending on the tension of the fabric at each of the vertices according to Hooke's law.

Live demo : https://tinyurl.com/y4wfe56f

image image