Skip to content

Minimal WebGPU triangle that works as of May 2022 and is readable

License

Notifications You must be signed in to change notification settings

monfera/minimal-webgpu-triangle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minimal-webgpu-triangle

Minimal WebGPU triangle that works as of May 2022 and is readable (single-file JS like morzel85's archived repo)

As of the making of this (May 27, 2022), I found no example that actually worked, was using only web standard technologies (ie. no unrelated TS+React+Webpack tooling) and was somewhat readable. Used Chrome Canary, needed to enable chrome://flags/#enable-unsafe-webgpu

Working version: https://codepen.io/monfera/pen/VwQyNWv

Should show a triangle:

image

About

Minimal WebGPU triangle that works as of May 2022 and is readable

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published