wasm
This commit is contained in:
parent
d3a09df7a8
commit
0c48519dd7
8 changed files with 1830 additions and 96 deletions
19
wasm/index.html
Normal file
19
wasm/index.html
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue