-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (48 loc) 路 1.51 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pixel Art to JollyData</title>
<link rel="stylesheet" href="styles.css">
<link rel="icon" type="image/png" href="love.png">
<script type="text/javascript" src="lzstring.min.js"></script>
</head>
<body>
<h1>Pixel Art to JollyData</h1>
<div id="container">
<canvas id="screen"></canvas>
<div id="cursor"></div>
</div>
<div class="toolrow">
<div class="tool">
<p>Color:</p>
<input id="color" value="#888888" type="color">
</div>
<div class="tool">
<p>Image Import:</p>
<input id="image" type="file" accept="image/png">
</div>
</div>
<div class="toolrow">
<div class="tool">
<p>Canvas Size:</p>
<span id="sizetext">16</span>
<input id="size" min="4" max="128" step="4" value="16" type="range">
</div>
<div class="tool">
<p>In-Game Size:</p>
<span id="igmtext">8</span>
<input id="igm" min="1" max="64" step="1" value="8" type="range">
</div>
</div>
<button id="generate">Generate!</button>
<br>
<textarea id="output"></textarea>
<p id="shapecount"></p>
<hr>
<footer>Made with <img id="love" src="love.png"> by Warze</footer>
<script src="main.js"></script>
</body>
</html>