-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
104 lines (100 loc) · 3.04 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" type="text/css" href="src/styles.css" />
<title>Doka Worms</title>
</head>
<body>
<div class="viewport">
<canvas id="main-canvas" width="960" height="540"></canvas>
<button id="start-button" class="toolbox-button">Make your own</button>
<div id="toolbox" class="hidden">
<div class="toolbox-section">
<button id="playback-toggle" class="toolbox-item">
<img src="./icons/pause.svg" />
</button>
</div>
<div class="toolbox-section disabled-during-playback">
<button
id="pencil-button"
class="toolbox-item disabled-during-playback"
>
<img src="./icons/pencil.svg" />
</button>
<button
id="wand-button"
class="toolbox-item disabled-during-playback"
>
<img src="./icons/wand.svg" />
</button>
<button
id="line-button"
class="toolbox-item disabled-during-playback"
>
<img src="./icons/line.svg" />
</button>
</div>
<div class="toolbox-section disabled-during-playback">
<button
id="undo-button"
class="toolbox-item disabled-during-playback"
disabled="true"
>
<img src="./icons/undo.svg" />
</button>
<button
id="redo-button"
class="toolbox-item disabled-during-playback"
disabled="true"
>
<img src="./icons/redo.svg" />
</button>
</div>
<div class="toolbox-section">
<button
id="clear-canvas"
class="toolbox-item disabled-during-playback destructive"
>
<img src="./icons/trash.svg" />
</button>
</div>
<div class="toolbox-section">
<button
id="export-button"
class="toolbox-item needs-explicit-visibility has-explicit-visibility"
>
<img src="./icons/check.svg" />
</button>
<div
id="loading-spinner"
class="toolbox-item spinning needs-explicit-visibility"
>
<img src="./icons/loader.svg" />
</div>
<a
id="download-button"
class="toolbox-item needs-explicit-visibility"
download="doka-worms.webm"
>
<img src="./icons/download.svg" />
</a>
</div>
</div>
</div>
<div class="description">
<h1>Doka-<br />Worms</h1>
<p>
Inspired by
<a
href="https://www.volkshotel.nl/en/doka"
target="_blank"
rel="noopener noreferrer"
>Club Doka's website</a
>, this is a tool to build a fun squiggly effect.
</p>
</div>
<script type="module" src="src/main.ts"></script>
</body>
</html>