diff options
Diffstat (limited to 'examples/wgpu-html5/index.html')
| -rw-r--r-- | examples/wgpu-html5/index.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/wgpu-html5/index.html b/examples/wgpu-html5/index.html new file mode 100644 index 000000000..975a8c65f --- /dev/null +++ b/examples/wgpu-html5/index.html @@ -0,0 +1,15 @@ +<html> + <head> + <title>WebGPU Triangle</title> + <script src="example.js"></script> + </head> + <body> + <center> + <canvas width="512" height="512"></canvas> + </center> + <script type="text/javascript"> + const canvas = document.querySelector("canvas"); + Example.initialize(canvas); + </script> + </body> +</html> |
