-
Notifications
You must be signed in to change notification settings - Fork 10
/
index.html
39 lines (36 loc) · 1.31 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
<!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">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap" rel="stylesheet">
<title>Genetic Drawer</title>
<link rel="stylesheet" href="assets/css/style.css">
<link rel="icon" type="image/png" href="assets/img/favicon.png">
</head>
<body>
<h1 class="title">Genetic Drawer</h1>
<div class="container">
<div class="image-container">
<img id="genetic-image" class="image" alt="Copied image">
<canvas id="genetic-canvas" class="image"></canvas>
</div>
<p>Current match: <span id="match_percentage"></span>%</p>
<p>Generation: <span id="gen_count"></span></p>
</div>
<div class="container">
<div class="dropzone" id="dropzone">
<label for="files" class="dropzone-container">
<div class="file-icon">+</div>
<div class="dropzone-title">
Drag and drop your image or <span class="browse">browse</span> for an image
</div>
</label>
<input id="files" name="files[]" type="file" class="file-input" accept="image/x-png,image/jpeg">
</div>
</div>
<script src="assets/js/momentum.js" type="module"></script>
<script src="assets/js/main.js" type="module"></script>
</body>
</html>