Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://webgpu.github.io/webgpu-samples/
WebGPU Samples
https://webgpu.github.io/webgpu-samples/
Last synced: 3 months ago
JSON representation
WebGPU Samples
- Host: GitHub
- URL: https://webgpu.github.io/webgpu-samples/
- Owner: webgpu
- License: bsd-3-clause
- Created: 2019-03-25T18:48:16.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-12T17:53:17.000Z (7 months ago)
- Last Synced: 2024-04-22T21:16:28.562Z (7 months ago)
- Language: TypeScript
- Homepage: https://webgpu.github.io/webgpu-samples/
- Size: 18.3 MB
- Stars: 1,591
- Watchers: 49
- Forks: 282
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-webxr-development - WebGPU Samples - A set of samples demonstrating the use of the WebGPU API (Learning Resources / Graphics API, Computer Graphics)
- awesome-webgpu - WebGPU Samples - A set of samples and demos demonstrating the use of the WebGPU API - [Repository](https://github.com/webgpu/webgpu-samples) (Demos / Safari)
README
# WebGPU Samples
**Please visit the [WebGPU Samples website](//webgpu.github.io/webgpu-samples/) to run the samples!**
The WebGPU Samples are a set of samples and demos
demonstrating the use of the [WebGPU API](//webgpu.dev). Please see the current
implementation status and how to run WebGPU in your browser at
[webgpu.io](//webgpu.io).## Building
`webgpu-samples` is built with [Typescript](https://www.typescriptlang.org/)
and bundled using [Rollup](https://rollupjs.org/). Building the project
requires an installation of [Node.js](https://nodejs.org/en/).- 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`.