Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://webgpu.github.io/webgpu-samples/

WebGPU Samples
https://webgpu.github.io/webgpu-samples/

Last synced: 3 months ago
JSON representation

WebGPU Samples

Awesome Lists containing this project

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`.