This is neat as a personal project restricted to WebGL and real-time.
The state-of-the-art in commercially available cloth/clothing creation simulation these days is Marvelous Designer and it is available for ~$400. It does produce results that are pretty phenomenal and hard to tell from real-life.
Those knots are gnarly!