FPS: ???
Simulation Statistics: ???
This is an UPGRADED cloth simulation using Verlet Integration. I have made it far more performant (1100% faster) and now supports shading, wind, faster cutting, custom colors/gradients, etc.
This does use the glmatrix's transforms for drawing the elements independent
of one another, but then applies physics across all of them due to the sequential
nature of the glmatrix stack.
You have the standard shading mode that is selected, you can change the color of the fabric. The other modes are a
fun rainbow mode that radiates from your mouse and a mode that visualizes the speed of the cloth as an RGB color!
Use "C" to cut the sticks that connect the fabric together to see the physics play!
Use "B" or the mouse to blow the fabric in a direction!
The blue points at the top are "Frozen", use "F" on your keyboard to freeze/unfreeze the nearest point.
You can reset the simulation by hitting R.