webasm-circle-table/index.html
2022-02-13 14:48:00 +01:00

26 lines
535 B
HTML

<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type"/>
</head>
<body>
<script type="module">
import init from "./pkg/circle_canvas.js";
async function run() {
await init();
}
run();
</script>
<style>
#circle_canvas{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
</style>
<canvas id="circle_canvas" height="800" width="800"></canvas>
</body>
</html>