Compute Shader Flocking

This demo uses a compute shader to update the positions of objects in parallel.

WebGPU not available

Make sure you are on a system with WebGPU enabled. In Safari, first make sure the Developer Menu is visible (Preferences > Advanced), then Develop > Experimental Features > WebGPU.

In addition, you must be using Safari Technology Preview 92 or above. You can get the latest STP here.