-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
101 lines (83 loc) · 3.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Enluminure</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<aside class="presets">
<button id="export-preset">EXPORT PRESET</button>
<button id="import-preset">IMPORT PRESET</button>
</aside>
<main id="app">
<section id="pics">
<input type="file" name="change_file" id="change_file" />
</section>
<div>
<h1>Enluminure</h1>
<div class="fieldset">
<label>Background color</label>
<input type="color" id="backgroundColor" class="param_input" value="#000" />
</div>
<div class="fieldset">
<label>Luminance factor</label>
<input type="range" id="luminanceFactor" class="param_input" min="50" max="200" value="100" step="1" />
</div>
<div class="fieldset">
<label>Minimum hue</label>
<input type="range" id="hueMin" class="param_input" min="0" max="360" value="0" step="1" />
</div>
<div class="fieldset">
<label>Maximum hue</label>
<input type="range" id="hueMax" class="param_input" min="0" max="360" value="10" step="1" />
</div>
<div class="fieldset">
<label>Saturation</label>
<input type="range" id="saturation" class="param_input" min="0" max="100" value="100" step="1" />
</div>
<div class="fieldset">
<label>Font-size</label>
<input type="range" id="fontSize" class="param_input" min="2" max="20" value="6" step="1" />
</div>
<div class="fieldset">
<label>Tile size</label>
<input type="range" id="tileSize" class="param_input" min="2" max="20" value="6" step="1" />
</div>
<div class="fieldset">
<label>Focus Gradient opacity</label>
<input type="range" id="focusGradientOpacity" class="param_input" min="0" max="100" value="0" step="5" />
</div>
<div class="fieldset">
<label>Jitter chance</label>
<input type="range" id="jitterProbability" class="param_input" min="0" max="1" value="0" step="0.1" />
</div>
<div class="fieldset">
<label>Max Jitter offset (X-axis)</label>
<input type="range" id="maxJitterOffsetX" class="param_input" min="0" max="100" value="0" step="5" />
</div>
<div class="fieldset">
<label>Max Jitter offset (Y-axis)</label>
<input type="range" id="maxJitterOffsetY" class="param_input" min="0" max="100" value="0" step="5" />
</div>
<div class="fieldset">
<label>Character set</label>
<input type="text" id="characterPool" class="param_input" value="ELONMUSK" />
</div>
<div class="fieldset">
<label>Hue Rotation</label>
<select id="hueRotation" class="param_input">
</select>
</div>
<div class="fieldset">
<label>Character distribution</label>
<select id="characterDistribution" class="param_input">
</select>
</div>
</div>
</main>
<script type="module" src="./main.ts"></script>
</body>
</html>