A basic OpenGL cloth simulator written in C++ as a uni assignment. It has no fancy features at the moment, but I am planning to add in a few of them (e.g. spring length correction, collisions, tearing) as soon as time permits. It is a straight implementation of Xavier Provot's 1995 paper, "Deformation Constraints in a Mass-Spring Model to Describe Rigid Cloth Behavior" [link].
This was a really good project to get my feet wet with physically-based simulation and making it work was a very satisfying experience in the end, but I have to admit that not having done this sort of thing before, actually getting there was not easy. So if, by any chance, whoever is reading this struggles with writing a cloth simulator themselves, know that I struggled too.