three-simplecloth
Simple cloth simulation for Three.js WebGPU
File Explorer
- deploy.yml
- clothInspector.ts
- isMobile.ts
- mouse-events.ts
- ndc.ts
- catwalk-demo.ts
- demo-type.ts
- dude-multi-grab-demo.ts
- main.ts
- skirt-demo.ts
- catwalk.glb
- dance.glb
- dude.glb
- skirt.glb
- index.ts
- SimpleCloth.ts
- .gitignore
- .prettierrc
- colliders.png
- cover.jpg
- index.html
- LICENSE
- package-lock.json
- package.json
- paint.jpg
- README.md
- tsconfig.json
- vite.dev.config.ts
- vite.lib.config.ts
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
npm install
View Details ▼
npm install
Install Node packages.
npm {{[i|install]}}
Install dependencies listed in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}
Download the latest version of a package and add it to the list of dev dependencies in `package.json`:
Then
View Details ▼
Then
This shell keyword is used in combination with `if` and `elif` to separate branches and branch conditions.
tldr if
View documentation for `if` command:
