2023-12-16 03:09:36 +00:00
|
|
|
<html lang="en">
|
2020-09-16 01:05:31 +00:00
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
2020-09-19 03:11:26 +00:00
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
background: linear-gradient(
|
|
|
|
135deg,
|
|
|
|
white 0%,
|
|
|
|
white 49%,
|
|
|
|
black 49%,
|
|
|
|
black 51%,
|
|
|
|
white 51%,
|
|
|
|
white 100%
|
2023-12-16 03:09:36 +00:00
|
|
|
) repeat;
|
2020-09-19 03:11:26 +00:00
|
|
|
background-size: 20px 20px;
|
|
|
|
}
|
|
|
|
canvas {
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
</style>
|
2023-12-16 03:09:36 +00:00
|
|
|
<title>WASM Example</title>
|
2020-09-16 01:05:31 +00:00
|
|
|
</head>
|
|
|
|
<script type="module">
|
2022-01-17 22:38:05 +00:00
|
|
|
import init from './target/wasm_example.js'
|
2020-09-16 01:05:31 +00:00
|
|
|
init()
|
|
|
|
</script>
|
|
|
|
</html>
|