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.

Drag to orbit the sheet. Reset after changing solver parameters to compare the tension response.

LAB 57 / COMPUTE CLOTH