A fabric design and simulation tool, built in three.js.
You can find the latest version of Drape here
If you're interested in developing drape further, you'll want to download the code and run it locally. Here's how to do that:
Drape is developed by Aatish Bhatia, Demi Fang, Sigrid Adriaenssens, using three.js and starting from the cloth simulation example. This work is shared under the MIT License.
Some papers that go into the nitty-gritty of cloth simulation.