1<!doctype html>
2<html>
3 <head>
4 <meta charset="utf-8" />
5 <title>Poisson Solver</title>
6 </head>
7 <body>
8 <script src="wasm_exec.js"></script>
9 <script>
10 const go = new Go(); // provided by wasm_exec.js
11 WebAssembly.instantiateStreaming(
12 fetch("poisson.wasm"),
13 go.importObject,
14 ).then((result) => {
15 go.run(result.instance);
16 });
17 </script>
18 </body>
19</html>