drawing node with verticies count dynamically calculated
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user