THREE.JS / FOUNDATIONS 59

Three hundred thousand tiny decisions.

One storage buffer becomes a living point field. Every frame, the GPU advances the cloud, reflects it inside the bounds, and clears points touched by your cursor.

Initializing compute points—
Preparing a storage-backed point field.

The native lane follows the pinned official 300k-point compute shape; the WebGL2 route keeps the same interaction contract with a smaller CPU-owned point field.

Pinned official compute-points source

LAB 59 / COMPUTE POINTS