yum/demomo

A graphics engine built on wgpu.

git clone https://git.yummers.dev/yum/demomo

yumDemo now fills entire screen38c8670

master
431 B22 linesraw
1<!doctype html>
2<html>
3    <head>
4        <style>
5            body {
6                margin: 0;
7            }
8            #meow {
9                display: block;
10                width: 100vw;
11                height: 100vh;
12            }
13        </style>
14    </head>
15  <body>
16    <canvas id="meow"></canvas>
17    <script type="module">
18      import init from "./pkg/hello_web.js";
19      await init();
20    </script>
21  </body>
22</html>