-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
39 lines (37 loc) · 1.15 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="style.css">
<title>Quadtree</title>
</head>
<body>
<header>
<h1>Quadtree Destructible Terrain Demo</h1>
<p id="github"><a href="https://github.com/Furetur/quadtree-destructible-terrain">Github</a></p>
<p>This looks a lot like <a href="https://prajogotio.github.io/DestructibleTerrainDemo/destructibleterrain.html">prajogotio's version</a> but with circles. The intent is to use it later in a worms-like game</p>
<p>Click to draw a circle</p>
</header>
<main>
<canvas id="terrain"></canvas>
</main>
<aside>
<h2>Bonuses</h2>
<label>
<span>Minimal Side Length:</span>
<input type="number" id="side-length" value="1" min="1">
</label>
<label>
<input type="checkbox" id="debug-lines">
<span>Debug</span>
</label>
<label>
<input type="radio" id="comic-sans">
<span>Comic Sans Mode</span>
</label>
</aside>
<script src="index.ts"></script>
</body>
</html>