Skip to content

demifang/drape

This branch is 2 commits ahead of, 57 commits behind aatishb/drape:master.

Repository files navigation

Drape

A fabric design and simulation tool, built in three.js starting from the cloth simulation example.

To run online:

You can test the code at the following links:

Latest stable version

collisiondetection branch: A branch implementing collision detection. In progress.

To run on your own computer:

  1. Download code and unzip (or, if you're familiar with git, git clone https://github.com/aatishb/drape.git)
  2. You need to run the code on a local server (Refs: 1, 2). The easiest way to do this is open one of the .js files with the p5 editor and press play.

TODO

[Code overview] (https://goo.gl/5M8SwK) – overview of code organization

Stuff to implement:

  1. Collision detection (Ref 1, Ref 2)
  2. Bending stiffness, shear (Ref)
  3. Prevent cloth self-intersections
  4. GUI
  5. Export to STL
  6. Explore different methods of interaction

About

drape simulation software

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 89.7%
  • HTML 10.3%