drawing node with verticies count dynamically calculated

This commit is contained in:
dongho
2024-09-04 16:15:39 +09:00
parent 532601bc43
commit 43817cfeea
6 changed files with 18 additions and 386 deletions

View File

@ -1,10 +1,15 @@
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type"/>
<script defer src="pkg/ekstrahMap.js"></script>
</head>
<body>
<canvas id="canvas" height="150" width="150">
<canvas id="glcanvas" height="640" width="570">
<script type="module">
import init from "./pkg/ekstrahMap.js";
init();
</script>
<!-- Note the usage of `type=module` here as this is an ES6 module -->
</body>
</html>