-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
217 lines (216 loc) · 5.45 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" charset="utf-8"/>
<title>Index for Babylon.JS on 2019/11/06 by T. Fujita</title>
<style>
body {
font-family: Alegreya Sans;
background: #ced8f6;
}
.menu {
position: relative;
background: #0404b4;
width: 3em;
height: 3em;
border-radius: 5em;
margin: auto;
margin-top: 5em;
margin-bottom: 5em;
cursor: pointer;
border: 2em solid #2e64fe;
}
.menu:after {
content: "";
position: absolute;
top: 1em;
left: 1em;
width: 1em;
height: 0.2em;
border-top: 0.6em double #fff;
border-bottom: 0.2em solid #fff;
}
.menu ul {
list-style: none;
padding: 0;
}
.menu li {
width: 9em;
height: 1.4em;
padding: 0.2em;
margin-top: 0.2em;
text-align: center;
border-top-right-radius: 0.5em;
border-bottom-right-radius: 0.5em;
transition: all 1s;
background: #2e64fe;
opacity: 0;
z-index: -1;
}
.menu:hover li {
opacity: 1;
}
.menu:hover ul::before {
position: absolute;
content: "";
width: 0;
height: 0;
display: block;
left: 50%;
top: -5.0em;
border-width: 6.5em;
border-radius: 0 7.5em 7.5em 0;
border-left: 0;
border-style: solid;
border-color: rgba(0,0,0,0.01);
z-index: -1;
cursor: default;
}
.menu a {
color: white;
text-decoration: none;
line-height: 1.5em;
}
.menu ul {
transform: rotate(180deg) translateY(-2em);
transition: 1s all;
}
.menu:hover ul {
transform: rotate(0deg) translateY(-1em);
}
.menu li:hover {
background: #0404b4;
z-index: 10;
}
.menu li:nth-of-type(1) {
transform: rotate(-90deg);
position: absolute;
left: -3.2em;
top: -7.2em;
}
.menu li:nth-of-type(2) {
transform: rotate(-67.5deg);
position: absolute;
left: -0.3em;
top: -6.5em;
}
.menu li:nth-of-type(3) {
transform: rotate(-45deg);
position: absolute;
left: 2.3em;
top: -5.0em;
}
.menu li:nth-of-type(4) {
transform: rotate(-22.5deg);
position: absolute;
left: 4.0em;
top: -2.5em;
}
.menu li:nth-of-type(5) {
position: absolute;
left: 4.4em;
top: 0.4em;
}
.menu li:nth-of-type(6) {
transform: rotate(22.5deg);
position: absolute;
left: 4.0em;
top: 3.3em;
}
.menu li:nth-of-type(7) {
transform: rotate(45deg);
position: absolute;
left: 2.3em;
top: 5.8em;
}
.menu li:nth-of-type(8) {
transform: rotate(67.5deg);
position: absolute;
left: -0.3em;
top: 7.3em;
}
.menu li:nth-of-type(9) {
transform: rotate(90deg);
position: absolute;
left: -3.2em;
top: 8.0em;
}
.menu li:nth-of-type(10) {
transform: rotate(112.5deg);
position: absolute;
left: -6.1em;
top: 7.3em;
}
.menu li:nth-of-type(11) {
transform: rotate(135deg);
position: absolute;
left: -8.6em;
top: 5.8em;
}
.menu li:nth-of-type(12) {
transform: rotate(157.5deg);
position: absolute;
left: -10.3em;
top: 3.3em;
}
.menu li:nth-of-type(13) {
transform: rotate(180deg);
position: absolute;
left: -10.8em;
top: 0.4em;
}
.menu li:nth-of-type(14) {
transform: rotate(202.5deg);
position: absolute;
left: -10.3em;
top: -2.5em;
}
.menu li:nth-of-type(15) {
transform: rotate(225deg);
position: absolute;
left: -8.6em;
top: -5.0em;
}
.menu li:nth-of-type(16) {
transform: rotate(247.5deg);
position: absolute;
left: -6.1em;
top: -6.5em;
}
.hint {
text-align: center;
}
.right {
text-align: right;
}
</style>
</head>
<body>
<BR>
<h1 class="hint">Menu for Try to Create 3D Graphics by Babylon.js</h1>
<h3 class="right">2019/10/20 by T. Fujita</h3>
<BR>
<nav class="menu">
<ul>
<li><a href="./Babylon_101_sphere.html" title="1. Create a sphere">1. Sphere</a></li>
<li><a href="./Babylon_102_sphere_with_BG.html" title="2. Create a sphere with Background">2. Sphere BG</a></li>
<li><a href="./Babylon_103_color_sphere.html" title="3. Colored sphere">3. Colored SP</a></li>
<li><a href="./Babylon_104_earth.html" title="4. Create the Earth">4. Earth</a></li>
<li><a href="./Babylon_105_animated_earth.html" title="5. Animated earth">5. Animated</a></li>
<li><a href="./Babylon_201_skybox.html" title="6. Background by skybox">6. Background</a></li>
<li><a href="./Babylon_202_skybox+ground.html" title="7. Skybox with ground">7. BG & Ground</a></li>
<li><a href="./Babylon_203_dds.html" title="8. Background by dds files">8. BG by DDS</a></li>
<li><a href="./Babylon_301_Sel_babylon.html" title="9. Babylon Demo">9. Demo</a></li>
<li><a href="./Babylon_302_Sel_BG&babylon.html" title="10. Babylon files with background">10. Babylon</a></li>
<li><a href="./Babylon_303_gltf.html" title="11. GLTF files with background">11. GLTF Files</a></li>
<li><a href="./Babylon_304_obj.html" title="12. OBJ files with background">12. OBJ Files</a></li>
<li><a href="./Babylon_305_stl.html" title="13. STL files with background">13. STL Files</a></li>
<li><a href="./Babylon_401_cameras.html" title="14. Camera Works">14. Camera</a></li>
<li><a href="./Babylon_501_walk.html" title="15. Walking Animation">15. Walking</a></li>
<li><a href="./Babylon_502_maze.html" title="16. 3D Maze with Walking Animation">16. 3D Maze</a></li>
</ul>
</nav>
<BR><BR><BR>
<p class="hint">Hover to show menu!</p>
</body>
</html>