THREE.JS / FOUNDATIONS 56

The surface remembers.

A storage-backed vertex buffer carries position and velocity for every vertex. Press into the shape and watch the compute spring pull it home.

Initializing compute geometry—
Preparing a generated surface and per-vertex storage.

Click and drag across the jelly. The compute kernel applies a local brush impulse, then springs every vertex toward its authored position.

LAB 56 / COMPUTE GEOMETRY