Skip to content

A collection of WebGPU examples for undergraduate computer graphics courses.

License

Notifications You must be signed in to change notification settings

UL-FRI-LGM/webgpu-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebGPU Examples

A collection of WebGPU examples for undergraduate computer graphics courses.

Building and running

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.

Project structure

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 engine directory contains the engine that the examples are built with.
  • The lib directory 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 models directory contains models and their respective textures that are used in multiple examples.
  • Finally, the examples directory 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.

About

A collection of WebGPU examples for undergraduate computer graphics courses.

Resources

License

Stars

Watchers

Forks

Packages

No packages published