There are WebGPU experiments. Be careful to use code in production environment.
See examples here: https://olegdovger.github.io/web-gpu-experiments/output/
Use pnpm.
Run pnpm install to install dependencies.
Run pnpm run dev to start web server in development environment