/
index.html
73 lines (66 loc) · 1.34 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!doctype html>
<html>
<head>
<meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1">
<style>
body {
background-color: black;
height: 100vh;
margin: 0;
color: white;
}
.flex {
display: flex;
}
.col {
flex-direction: column;
}
.vh {
height: 100%;
}
.vw {
width: 100%;
}
.center {
justify-content: center;
align-items: center;
}
.gap {
gap: 1em;
}
#canvas {
width: 640px;
height: 320px;
border-style: solid;
border-color: rgb(85, 85, 85);
}
button {
width: 50px;
height: 50px;
border-radius: 25%;
}
#start {
background-color: #27ae60;
}
#stop {
background-color: #e74c3c;
}
#next {
background-color: #f39c12;
}
</style>
</head>
<body>
<div class="flex col vh vw center gap">
<canvas id="canvas"></canvas>
<div id="controls">
<input type="file" id="fileInput">
<button id="start"> Start </button>
<button id="stop"> Stop </button>
<button id="next"> >> </button>
</div>
</div>
<script type=module src=runtime.js>
</script>
</body>
</html>