C++ and OpenGL/GLUT particle simulation of a cloth square. Written on Mac OSX 10.9.