index.html 361 B

1234567891011121314
  1. <html>
  2. <head>
  3. <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
  4. </head>
  5. <body>
  6. <canvas id="canvas" width="640" height="480"></canvas>
  7. <script src="./myblob.js"></script>
  8. <script>
  9. window.addEventListener("load", async () => {
  10. await wasm_bindgen("./myblob_bg.wasm");
  11. });
  12. </script>
  13. </body>
  14. </html>