-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (46 loc) · 1.62 KB
/
index.html
File metadata and controls
49 lines (46 loc) · 1.62 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bad Apple</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="canvases">
<canvas id="previewCanvas"></canvas>
<canvas id="mainCanvas"></canvas>
</div>
<div class="options">
<div class="option">
<h1>Fill Threshold</h1>
<div class="container">
<input type="range" name="threshold" id="threshold" min="0" max="50" value="5">
<p id="thresholdValue">5</p>
</div>
</div>
<div class="option">
<h1>Pixel Color Change</h1>
<div class="container">
<input type="range" name="colorChange" id="colorChange" min="0" max="1" step="0.05" value="0.2">
<p id="colorChangeValue">0.2</p>
</div>
</div>
<div class="option">
<h1>Moving Color</h1>
<div class="container">
<input type="color" name="movingColor" id="movingColor" value="#000000">
<p id="movingColorValue">rgb(0, 0, 0)</p>
</div>
</div>
<div class="option">
<h1>Static Color</h1>
<div class="container">
<input type="color" name="staticColor" id="staticColor" value="#FFFFFF">
<p id="staticColorValue">rgb(255, 255, 255)</p>
</div>
</div>
</div>
<script type="module" src="decoder.js"></script>
</body>
</html>