-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
37 lines (33 loc) · 1.27 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
<!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">
<title>Image pallete</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="gratitude">
Pictures provided by
<a href="https://picsum.photos/" target="_blank">picsum.photos</a>
</div>
<div class="content" id="content">
<div class="image-container" id="image-container"></div>
<div class="colors-container" id="colors-container"></div>
</div>
<div class="controls">
<div class="control-item" id="control-random">Random</div>
<div class="control-item" id="control-upload">Upload</div>
<div class="control-divider"></div>
<div class="control-item" id="control-median-cut">Median cut</div>
<div class="control-item" id="control-k-means">K-Means</div>
<div class="control-item" id="control-histogram">Histogram</div>
</div>
<input id="file-input" type="file" accept="image/*" hidden />
<script src="median-cut.js"></script>
<script src="k-means.js"></script>
<script src="histogram.js"></script>
<script src="script.js"></script>
</body>
</html>