A collection of WebGPU examples for undergraduate computer graphics courses.
The examples do not need to be built, but some of them require a server
capable of serving static files (WebGL+CORS restrictions). A basic Node.js
implementation is available in server.js.
The project is structured as follows:
- The root directory contains
index.html, the project's front page that lists all examples with links to their respective pages. - The
enginedirectory contains the engine that the examples are built with. - The
libdirectory holds the libraries. We use libraries when something is too tedious or prone to error if written by hand or out of the scope of this project. - The
modelsdirectory contains models and their respective textures that are used in multiple examples. - Finally, the
examplesdirectory contains a folder for every example. Each example holds at least a .html and a .js file as an entry point, potentially along with other support files associated with the example.
.