Make sure your browser supports webGPU.
For example download chrome canary and call:
chrome://flags/#enable-unsafe-webgpu
Run
npm install
and then
npm run start
WebGPU is still in development, this example may break.
https://threejsfundamentals.org/threejs/lessons/threejs-custom-buffergeometry.html