summaryrefslogtreecommitdiffstats
path: root/examples/integration/index.html
blob: 920bc4a06313c9d24196c86ab9258740e5eb794e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
    <title>Iced - wgpu + WebGL integration</title>
  </head>
  <body>
    <h1>integration_wgpu</h1>
    <canvas id="iced_canvas"></canvas>
    <script type="module">
      import init from "./integration.js";
      init('./integration_bg.wasm');
    </script>
    <style>
      body {
        width: 100%;
        text-align: center;
      }
    </style>
  </body>
</html>