THREE.JS / FOUNDATIONS 57
The fabric finds tension.
A verlet lattice shares its springs with the GPU. Wind, gravity, and a moving collider turn typed storage into a living sheet.
Initializing compute cloth—
Preparing a fixed-constraint spring lattice.
Verlet solver controls
GPU readback samples the storage-backed vertex positions after a compute step.
- path
- —
- vertices
- —
- springs
- —
- solver passes
- —
- readbacks
- 0
- draw calls
- —
- triangles
- —
Compute cloth initialization failed.
The verlet storage simulation could not initialize.
Drag to orbit the sheet. Reset after changing solver parameters to compare the tension response.
LAB 57 / COMPUTE CLOTH