generated from aka-toliu/grunt-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
228 lines (203 loc) ยท 10.1 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
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
<!DOCTYPE html>
<html lang="pt-br">
<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">
<link rel="stylesheet" href="src/main.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css"
integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
<title>Rigged Character</title>
</head>
<body>
<main>
<button onclick="rayX()"></button>
<div class="char">
<header>
<b class="char__body">
<b class="char__head" facepose="1">
<b class="char__eyes">
<b class="eye-R"></b>
<b class="eye-L"></b>
</b>
<b class="char__mouth"></b>
</b>
<b class="char__arm-R" id="R">
<b class="char__forearm-R" id="R">
<b class="char__hand-R" id="R">
<b class="char__finger"></b>
<b class="char__finger"></b>
<b class="char__finger"></b>
<b class="char__finger"></b>
</b>
</b>
</b>
<b class="char__arm-L" id="L">
<b class="char__forearm-L" id="L">
<b class="char__hand-L" id="L">
<b class="char__finger"></b>
<b class="char__finger"></b>
<b class="char__finger"></b>
<b class="char__finger"></b>
</b>
</b>
</b>
</b>
</header>
<footer>
<b class="char__leg-R" id="R">
<b class="char__calf-R" id="R">
<b class="char__foot-R" id="R">
</b>
</b>
</b>
<b class="char__leg-L" id="L">
<b class="char__calf-L" id="L">
<b class="char__foot-L" id="L">
</b>
</b>
</b>
</footer>
</div>
</main>
<aside>
<nav class="nav-main">
<section class="sanfona">
<div boneType="head" onclick="sanfona(this)" class="sanfona__header">Head</div>
<div class="sanfona__content hide-none">
<div class="bone-controller">
<p>Head</p>
<input type="range" min="-20" max="20" value="0" name="" id="char__head">
<span class="degs" >0deg</span>
</div>
<h4>Face pose:</h4>
<div class="face-expressions">
<button id="1" onclick="poseSelect(this)" class="btn--selected">๐</button>
<button id="2" onclick="poseSelect(this)">๐ </button>
<button id="3" onclick="poseSelect(this)">๐</button>
<button id="4" onclick="poseSelect(this)">๐</button>
<button id="5" onclick="poseSelect(this)">๐ฎ</button>
</div>
</div>
</section>
<section class="sanfona">
<div boneType="body" onclick="sanfona(this)" class="sanfona__header">Body</div>
<div class="sanfona__content hide-none">
<div class="bone-controller">
<p>Body</p>
<input type="range" min="-50" max="50" value="0" name="" id="char__body">
<span class="degs">0deg</span>
</div>
</div>
</section>
<section class="sanfona">
<div boneType="arm" onclick="sanfona(this)" class="sanfona__header">Arms</div>
<div class="sanfona__content">
<h4 side="L">Left</h4>
<div class="bone-controller">
<p>Arm</p>
<input type="range" min="-100" max="100" value="0" name="" id="char__arm-L">
<span class="degs">0deg</span>
</div>
<div class="bone-controller">
<p>Forearm</p>
<input type="range" min="-100" max="100" value="0" name="" id="char__forearm-L">
<span class="degs">0deg</span>
</div>
<div class="bone-controller">
<p>Hand</p>
<input type="range" min="-100" max="100" value="0" name="" id="char__hand-L">
<span class="degs">0deg</span>
</div>
<div class="hand__invert" side="L">
<input type="checkbox" name="hand__invert-L">
<label for="hand__invert-L">Flip hand</label>
</div>
<br>
<h4 class="hand-title" side="L">Hand pose:</h4>
<div class="hand-expressions" side="L">
<button id="1" onclick="poseSelect(this)" class="btn--selected">๐๐ฝ</button>
<button id="2" onclick="poseSelect(this)">โ๐ฝ</button>
<button id="3" onclick="poseSelect(this)">๐๐ฝ</button>
<button id="4" onclick="poseSelect(this)">๐ค๐ฝ</button>
<button id="5" onclick="poseSelect(this)">๐๐ฝ</button>
<button id="6" onclick="poseSelect(this)">โ๐ฝ</button>
<button id="7" onclick="poseSelect(this)">๐ค๐ฝ</button>
</div>
<br>
<h4 side="R">Right</h4>
<div class="bone-controller">
<p>Arm</p>
<input type="range" min="-100" max="100" value="0" name="" id="char__arm-R">
<span class="degs">0deg</span>
</div>
<div class="bone-controller">
<p>Forearm</p>
<input type="range" min="-100" max="100" value="0" name="" id="char__forearm-R">
<span class="degs">0deg</span>
</div>
<div class="bone-controller">
<p>Hand</p>
<input type="range" min="-100" max="100" value="0" name="" id="char__hand-R">
<span class="degs">0deg</span>
</div>
<div class="hand__invert" side="R">
<input type="checkbox" name="hand__invert-R">
<label for="hand__invert-R">Flip hand</label>
</div>
<br>
<h4 class="hand-title" side="R">Hand pose:</h4>
<div class="hand-expressions" side="R">
<button id="1" onclick="poseSelect(this)" class="btn--selected">๐๐ฝ</button>
<button id="2" onclick="poseSelect(this)">โ๐ฝ</button>
<button id="3" onclick="poseSelect(this)">๐๐ฝ</button>
<button id="4" onclick="poseSelect(this)">๐ค๐ฝ</button>
<button id="5" onclick="poseSelect(this)">๐๐ฝ</button>
<button id="6" onclick="poseSelect(this)">โ๐ฝ</button>
<button id="7" onclick="poseSelect(this)">๐ค๐ฝ</button>
</div>
</div>
</section>
<section class="sanfona">
<div boneType="leg" onclick="sanfona(this)" class="sanfona__header">Legs</div>
<div class="sanfona__content hide-none">
<h4 side="L">Left</h4>
<div class="bone-controller">
<p>Leg</p>
<input type="range" min="-100" max="100" value="0" name="" id="char__leg-L">
<span class="degs">0deg</span>
</div>
<div class="bone-controller">
<p>Calf</p>
<input type="range" min="-100" max="100" value="0" name="" id="char__calf-L">
<span class="degs">0deg</span>
</div>
<div class="bone-controller">
<p>Foot</p>
<input type="range" min="-100" max="100" value="0" name="" id="char__foot-L">
<span class="degs">0deg</span>
</div>
<br>
<h4 side="R">Right</h4>
<div class="bone-controller">
<p>Leg</p>
<input type="range" min="-100" max="100" value="0" name="" id="char__leg-R">
<span class="degs">0deg</span>
</div>
<div class="bone-controller">
<p>Calf</p>
<input type="range" min="-100" max="100" value="0" name="" id="char__calf-R">
<span class="degs">0deg</span>
</div>
<div class="bone-controller">
<p>Foot</p>
<input type="range" min="-100" max="100" value="0" name="" id="char__foot-R">
<span class="degs">0deg</span>
</div>
</div>
</section>
</nav>
</aside>
</body>
<script src="src/main.js"></script>
</html>