webgpu/webgpu-samples

WebGPU Samples

TypeScript

2,184

476 commits

updated Oct 2, 2026

See the code

README

WebGPU Samples

Please visit the WebGPU Samples website to run the samples!

The WebGPU Samples are a set of samples and demos demonstrating the use of the WebGPU API. Please see the current implementation status and how to run WebGPU in your browser at webgpu.io.

Building

webgpu-samples is built with Typescript and bundled using Rollup. Building the project requires an installation of Node.js.

  • Install dependencies: npm ci.
  • For development, start the dev server which will watch and recompile sources: npm start. You can navigate to http://localhost:8080 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.

webgpu/webgpu-samples

WebGPU Samples

TypeScript

2,184

476 commits

updated Oct 2, 2026

See the code

README

WebGPU Samples

Please visit the WebGPU Samples website to run the samples!

The WebGPU Samples are a set of samples and demos demonstrating the use of the WebGPU API. Please see the current implementation status and how to run WebGPU in your browser at webgpu.io.

Building

webgpu-samples is built with Typescript and bundled using Rollup. Building the project requires an installation of Node.js.

  • Install dependencies: npm ci.
  • For development, start the dev server which will watch and recompile sources: npm start. You can navigate to http://localhost:8080 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.

Significant stargazers

btea

309 followers · starred Jan 2024

柴树杉

4,959 followers · starred Apr 2024

Joshua Lochner

2,141 followers · starred Mar 2023

Don McCurdy

2,494 followers · starred Feb 2023