LAB 195 / GPU PATH INSTANCING

A thousand particles, one heartbeat.

Sample a mathematical path once, then let one node material animate every instance around it. The highlighted wave wraps from the tail back to the head without moving a JavaScript object per particle.

InitializingRenderer —

Building the path sample and per-instance attribute buffers.

The WebGL2 baseline updates one InstancedMesh matrix per active particle; the WebGPU path keeps the transform in TSL.