-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathapp.html
More file actions
170 lines (154 loc) · 4.73 KB
/
app.html
File metadata and controls
170 lines (154 loc) · 4.73 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
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<html>
<head>
<!-- I've encountered some problems with loading CSS from raw githack so I'll just leave it like this for a short period of time -->
<style>
* {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
margin: 0;
font-size: 8px;
}
.headbut {
background-color: #CCC;
outline: none;
text-decoration: none;
font-size: 8;
padding: 5px;
height: 16px;
margin-left: 0;
}
.headbut:hover { background-color: #04F; color: FFF }
.slidsetting {
position: absolute;
left: 100px;
}
.slid_container {
margin-top: 5px;
}
.setting_container {
width: 476px;
margin-top: 2px;
margin-left: 4px;
}
.opt_container {
background-color: #CCCCCC;
height: 16px;
}
.body_container {
width: 484px;
height: 800px;
background-color: #AAAAAA;
margin: 0;
border: none;
padding: -5px
}
#voxelscreen {
width: 480px;
height: 480px;
border: 2px inset;
}
#cpsl {
position: relative;
width: 200px;
height: 200px;
border: 1px inset;
display: inline-block;
background-image:
linear-gradient(to top, #000 0%, transparent 100%),
linear-gradient(to right, #fff 0%, transparent 100%);
}
#cphue {
position: relative;
width: 20px;
height: 200px;
display: inline-block;
border: 1px inset;
margin-left: 5px;
background: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
}
#slpick {
position: absolute;
width: 8px;
height: 8px;
border: 1px solid;
border-radius: 4px;
background-color: #CCC;
}
#huepick {
position: absolute;
width: 18px;
height: 4px;
border: 1px solid;
border-radius: 2px;
background-color: #CCC;
left: 0;
}
.colors {
display: inline-block;
height: 200px;
position: absolute;
padding: 5px;
}
.color {
width: 210px;
height: 10px;
border: 2px inset;
background-color: white;
margin-bottom: 11px;
}
</style>
<link rel="stylesheet" href="http://windows93.net/c/sys/skins/w93.css?v=2.3.8">
</head>
<body>
<div class="body_container">
<div class="opt_container">
<span id="save" class="headbut">SAVE</span>
<span id="open" class="headbut">OPEN</span>
<span id="help" class="headbut">HELP</span>
<span style="color: gray">   </span>
<span id="plain" class="headbut">PLAIN</span>
<span id="void" class="headbut">THE VOID</span>
<strong>TIP: </strong> Use WASD to rotate
</div>
<canvas width="480" height="480" id="voxelscreen"></canvas>
<div class="setting_container">
<div class="slid_container">
<span> DIST: </span> <input type="range" max="6" value="2" step="0.1" id="dist" class="slidsetting" style="width: 360px">
</div>
<div class="slid_container">
<span> Y-POS: </span> <input type="range" max="16" value="0" id="ypos" class="slidsetting" style="width: 360px">
</div>
<div class="slid_container">
<span> MOUSE: </span> <input type="range" max="30" value="10" id="mouse" class="slidsetting" style="width: 360px">
</div>
<br>
<hr>
<br>
<div id="cpsl">
<span id="slpick"></span>
</div>
<div id="cphue">
<span id="huepick"></span>
</div>
<div class="colors">
<div class="color" id="c1"></div>
<div class="color" id="c2"></div>
<div class="color" id="c3"></div>
<div class="color" id="c4"></div>
<div class="color" id="c5"></div>
<div class="color" id="c6"></div>
<div class="color" id="c7"></div>
<div class="color" id="c8"></div>
</div>
</div>
</div>
<script src="https://raw.githack.com/windows93-community/Build3D/master/engine.js"></script>
<script src="https://raw.githack.com/windows93-community/Build3D/master/main.js"></script>
<script src="https://raw.githack.com/windows93-community/Build3D/master/app.js"></script>
<script src="https://raw.githack.com/windows93-community/Build3D/master/color_picker.js"></script>
</body>
</html>