# webgpu/webgpu-samples

WebGPU Samples

Repository: https://github.com/webgpu/webgpu-samples
Canonical: https://ross.abutalabs.com/products/webgpu-samples
Homepage: https://webgpu.github.io/webgpu-samples/
Language: TypeScript
License: BSD-3-Clause
License Family: permissive
Last push: 2026-08-05T04:31:50+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 35, longevity 100
- inputs: {"age_days": 2718, "days_push": 28, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2158, forks 354 (observed 2026-08-28T04:06:19.839292+00:00)

## What it is
A collection of samples and demos demonstrating the WebGPU API, viewable at webgpu.github.io/webgpu-samples. Written in TypeScript and bundled with Rollup.

## Use cases
- learn webgpu api
- webgpu example code
- gpu rendering demos in browser
- webgpu compute shader examples
- reference for writing webgpu apps

## When to choose
- you want runnable, canonical examples of the WebGPU API
- you are learning browser GPU programming
- you need reference code for WebGPU features

## When to avoid
- you need a production graphics library or engine
- you target WebGL or non-browser platforms

## Facets
- artifact type: learning-resource
- maturity: active
- function: graphics, developer-tools
- domain: web-development, graphics, tutorials
- platform: browser
- tags: webgpu, samples, demos, typescript, gpu-programming, web-server, nodejs

## Member repositories
- webgpu/webgpu-samples (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:19.839292+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:50:23.036651+00:00, confidence not recorded.
  - readme: https://github.com/webgpu/webgpu-samples (fetched 2026-08-28T04:06:19.839292+00:00, sha bf66d64e4eef)
  - homepage: https://webgpu.github.io/webgpu-samples/ (fetched 2026-08-29T10:30:37.743632+00:00, sha 0994f22f5322)
- Data as of 2026-08-30T08:39:29.467469+00:00.
