The WebGPU Samples are a set of samples demonstrating the use of the WebGPU API. Please see the current implementation status and how to run WebGPU in your browser at webgpu.io.
webgpu-samples is built with Typescript
and compiled using Next.js. Building the project
requires an installation of Node.js.
- Install dependencies:
- For development, start the dev server which will watch and recompile
npm start. You can navigate to http://localhost:3000 to view the project.
- For production, compile the project:
npm run build.
- To run a production server to serve the built assets, do
npm run serve.