This commit is contained in:
Llywelwyn 2023-07-06 19:07:25 +01:00
parent d3a09df7a8
commit 0c48519dd7
8 changed files with 1830 additions and 96 deletions

19
wasm/index.html Normal file
View file

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="index.css" />
<title>Home Page</title>
</head>
<body>
<figure>
<canvas id="canvas" width="640" height="480"></canvas>
</figure>
<script src="./rust-llyrl.js"></script>
<script>
window.addEventListener("load", async () => {
await wasm_bindgen("./rust-llyrl_bg.wasm");
});
</script>
</body>
</html>