Hyperbolic Asteroids, first commit. Rendering Poincare disk, circles, and lines.
This commit is contained in:
14
index.html
Normal file
14
index.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>Rust WASM Game Window</title>
|
||||
</head>
|
||||
<body style="margin:0; background:#222; display:flex; justify-content:center; align-items:center; height:100vh;">
|
||||
<canvas id="game-canvas"></canvas>
|
||||
<script type="module">
|
||||
import init from "./pkg/hyperbolic_asteroids.js";
|
||||
init();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user