mirror of https://github.com/sotrh/learn-wgpu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
561 B
HTML
23 lines
561 B
HTML
<html>
|
|
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
</head>
|
|
|
|
<body>
|
|
<!--
|
|
This is adapted from https://github.com/gfx-rs/wgpu/blob/master/run-wasm-example.sh
|
|
|
|
Eventually I'll have all the examples create there own components for vuepress to
|
|
use, but this will do for now.
|
|
-->
|
|
<script type="module">
|
|
import init from "./pong.js";
|
|
window.addEventListener("load", () => {
|
|
init();
|
|
});
|
|
</script>
|
|
</body>
|
|
|
|
</html> |