28 lines
528 B
HTML
28 lines
528 B
HTML
|
<html>
|
||
|
<head>
|
||
|
<meta charset="UTF-8" />
|
||
|
<style>
|
||
|
body {
|
||
|
background: linear-gradient(
|
||
|
135deg,
|
||
|
white 0%,
|
||
|
white 49%,
|
||
|
black 49%,
|
||
|
black 51%,
|
||
|
white 51%,
|
||
|
white 100%
|
||
|
);
|
||
|
background-repeat: repeat;
|
||
|
background-size: 20px 20px;
|
||
|
}
|
||
|
canvas {
|
||
|
background-color: white;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<script type="module">
|
||
|
import init from './target/wasm/wasm_example.js'
|
||
|
init()
|
||
|
</script>
|
||
|
</html>
|