-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
31 lines (28 loc) · 905 Bytes
/
index.html
File metadata and controls
31 lines (28 loc) · 905 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, viewport-fit=cover">
<meta name="theme-color" content="#020617">
<title>DIFM</title>
<link rel="stylesheet" href="engine/styles.css">
</head>
<body>
<div id="viewport">
<div id="world">
<svg id="connectors" xmlns="http://www.w3.org/2000/svg"></svg>
<div id="nodes"></div>
</div>
</div>
<div id="hud">
<span class="hud-title">DIFM</span>
<span class="hud-hint">Tap-and-hold anywhere to add</span>
</div>
<div id="zoom-controls">
<button data-zoom="in" aria-label="Zoom in">+</button>
<button data-zoom="out" aria-label="Zoom out">−</button>
<button data-zoom="reset" aria-label="Reset view">⤾</button>
</div>
<script type="module" src="engine/index.js"></script>
</body>
</html>