-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
/
Copy pathindex.html
244 lines (233 loc) · 8.9 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
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
<!DOCTYPE html>
<html lang="en">
<head>
<title>A-Frame Examples</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
html {
font-size: 14px;
}
body {
background: rgb(239,45,94);
color: #fff;
font: normal 500 1.2rem/1.2 Inconsolata, Andale Mono, Courier New, monospace;
padding: 1rem 2rem;
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
.header {
position: relative;
}
.resources {
font-size: 0; /* Collapse whitespace. */
text-transform: uppercase;
}
.resources li + li {
margin-top: 0.5rem;
}
.resources a {
color: rgba(0,0,0,.5);
display: inline-block;
font-size: 1.2rem;
margin: -0.25rem -0.5rem;
padding: 0.25rem 0.5rem;
text-decoration: none;
transition: all 0.075s ease-in-out;
}
.resources a:hover {
background-color: rgba(0,0,0,0.25);
color: #fff;
}
h1,
h2 {
line-height: 100%;
}
h1 {
font-size: 1.6rem;
font-weight: 100;
letter-spacing: 0.04rem;
margin-bottom: 1.25rem;
text-transform: uppercase;
}
h2 {
color: rgba(0,0,0,0.5);
font-size: 0.9rem;
font-weight: 300;
margin: 2rem 0 0.5rem;
padding: 0;
text-transform: uppercase;
}
hr {
background: none;
border: 0;
border-bottom: 1px dashed rgba(255,255,255,0.25);
margin: 2rem 0;
}
.links li + li {
box-shadow: inset 0 0.15rem 0.1rem -0.15rem rgba(0,0,0,0.5);
}
.links a {
color: #fff;
display: block;
font-size: 1.5rem;
letter-spacing: 0.01em;
padding: 0.75rem 0;
text-decoration: none;
transition: opacity 0.075s ease-in-out;
}
.links a em {
font-size: .9rem;
font-style: normal;
opacity: .6;
}
.links a:hover {
background-color: rgba(0,0,0,0.15);
box-shadow: inset 0 0 0 0.15rem rgba(0,0,0,0.15);
}
.links a:active {
background-color: rgba(0,0,0,0.25);
opacity: 0.75;
}
.links li:hover,
.links li:hover + li {
margin: 0 -0.75rem;
}
.links li:hover a,
.links li:hover + li a {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
@media only screen and (min-width: 1000px) {
h1 {
font-size: 3rem;
}
.resources {
font-size: 1.2;
}
.resources li {
display: inline-block;
}
.resources li + li {
margin-left: 2.5rem;
}
}
</style>
</head>
<body>
<header class="header">
<h1>A-Frame Examples</h1>
<ul id="resources" class="resources">
<li><a href="https://aframe.io">aframe.io</a></li>
<li><a href="https://github.com/aframevr">GitHub</a></li>
<li><a href="https://aframe.io/community/">Community</a></li>
<li><a href="https://x.com/aframevr">X</a></li>
<li><a href="https://webvr.directory">Showcase Directory</a></li>
</ul>
</header>
<hr>
<h2>Examples</h2>
<ul class="links">
<li><a href="showcase/anime-UI/">Anime UI</a></li>
<li><a href="showcase/comicbook/">Comic Book</a></li>
<li><a href="showcase/composite/">Composite</a></li>
<li><a href="showcase/curved-mockups/">Curved Mockups</a></li>
<li><a href="showcase/dynamic-lights/">Dynamic Lights</a></li>
<li><a href="showcase/hand-tracking/">Hand Tracking</a></li>
<li><a href="showcase/hand-tracking-grab-controls/">Hand Tracking Grab Controls</a></li>
<li><a href="showcase/ui/">User Interface</a></li>
<li><a href="showcase/link-traversal/">Link Traversal</a></li>
<li><a href="showcase/model-viewer/">Model Viewer</a></li>
<li><a href="showcase/painter/">Painter (Logitech MX Ink)</a></li>
<li><a href="showcase/spatial-ui/">Spatial UI</a></li>
<li><a href="showcase/tracked-controls/">Tracked Controls</a></li>
<li><a href="showcase/shopping/">Shopping</a></li>
<li><a href="showcase/spheres-and-fog/">Spheres and Fog</a></li>
<li><a href="showcase/wikipedia/">Wikipedia</a></li>
<li><a href="boilerplate/hello-world/">Hello World</a></li>
<li><a href="boilerplate/ar-hello-world/">AR Hello World</a></li>
<li><a href="boilerplate/panorama/">360° Image</a></li>
<li><a href="boilerplate/360-video/">360° Video</a></li>
<li><a href="boilerplate/3d-model/">3D Model (glTF)</a></li>
<li><a href="mixed-reality/anchor/">Anchor (Mixed Reality)</a></li>
<li><a href="mixed-reality/real-world-meshing/">Real World Meshing (Mixed Reality)</a></li>
<li><a href="mixed-reality/watch/">Virtual Watch (Mixed Reality)</a></li>
<li><a href="boilerplate/importmap/">Importmap (import teapot geometry from three/addons)</a></li>
<li><a href="showcase/webgpu/">WebGPU renderer and TSL</a></li>
<li><a href="showcase/post-processing/">Post-Processing</a></li>
</ul>
<h2>Examples from Documentation</h2>
<ul class="links">
<li><a href="docs/360-gallery/">360 Gallery</a></li>
<li><a href="docs/aincraft/">Aincraft</a></li>
<li><a href="docs/basic-scene/">Basic Scene</a></li>
<li><a href="docs/basic-scene-2/">Basic Scene with Custom Environment</a></li>
<li><a href="docs/community-components/">Community Components</a></li>
</ul>
<h2>Tests</h2>
<ul class="links">
<li><a href="test/animation/">Animation</a></li>
<li><a href="test/animation-color/">Animation of Color</a></li>
<li><a href="test/canvas-texture/">Canvas Texture</a></li>
<li><a href="test/cube/">Cube</a></li>
<li><a href="test/cursor/">Cursor</a></li>
<li><a href="test/cylinders/">Cylinders</a></li>
<li><a href="test/embedded/">Embedded</a></li>
<li><a href="test/fog/">Fog</a></li>
<li><a href="test/geometry/">Geometry</a></li>
<li><a href="test/geometry-gallery/">Geometry Gallery</a></li>
<li><a href="test/gltf-model/">glTF Model</a></li>
<li><a href="test/gltf-model/draco.html">glTF Model Draco</a></li>
<li><a href="test/laser-controls/">Laser Controls</a></li>
<li><a href="test/layer/">Compositor Layer</a></li>
<li><a href="test/mixin/">Mixin</a></li>
<li><a href="test/model/">Model <em>(glTF, OBJ)</em></a></li>
<li><a href="test/opacity/">Opacity</a></li>
<li><a href="test/physical/">Physically-Based Materials</a></li>
<li><a href="test/pivot/">Pivot</a></li>
<li><a href="test/pool/">Pool</a></li>
<li><a href="primitives/boxes/">Primitive: Boxes</a></li>
<li><a href="primitives/cylinders/">Primitive: Cylinders</a></li>
<li><a href="primitives/defaults/">Primitive: Defaults</a></li>
<li><a href="primitives/images/">Primitive: Images</a></li>
<li><a href="primitives/models/">Primitive: Models <em>(glTF, OBJ)</em></a></li>
<li><a href="primitives/planes/">Primitive: Planes</a></li>
<li><a href="primitives/ring/">Primitive: Ring</a></li>
<li><a href="primitives/torus/">Primitive: Torus</a></li>
<li><a href="test/raycaster/">Raycaster</a></li>
<li><a href="test/raycaster/simple.html">Raycaster (Simple)</a></li>
<li><a href="test/shaders/">Shaders</a></li>
<li><a href="test/shadows/">Shadows</a></li>
<li><a href="test/text/">Text</a></li>
<li><a href="test/text/anchors.html">Text Anchors</a></li>
<li><a href="test/text/msdf.html">Text Fonts <em>(MSDF vs. SDF)</em></a></li>
<li><a href="test/text/scenarios.html">Text Scenarios</a></li>
<li><a href="test/text/sizes.html">Text Sizes</a></li>
<li><a href="test/towers/">Towers</a></li>
<li><a href="test/video/">Video</a></li>
<li><a href="test/videosphere/">Video 360°</a></li>
<li><a href="test/visibility/">Visibility</a></li>
</ul>
<h2>Animations</h2>
<ul class="links">
<li><a href="animation/aframe-logo/">A-Frame Logo</a></li>
<li><a href="animation/arms/">Arms</a></li>
<li><a href="animation/plane-reveals/">Plane Reveals</a></li>
<li><a href="animation/generic-logo/">Generic Logo</a></li>
<li><a href="animation/pivots/">Pivots</a></li>
<li><a href="animation/unfold/">Unfold</a></li>
<li><a href="animation/warps/">Warps</a></li>
</ul>
<h2>Performance</h2>
<ul class="links">
<li><a href="performance/animation-raw/">Animation</a></li>
<li><a href="performance/cubes/">Cubes</a></li>
<li><a href="performance/entity-count/">Entity Count</a></li>
<li><a href="performance/in-vr/">In VR</a></li>
<li><a href="performance/multiview-extension/?multiview=on">Multiview Extension</a></li>
</ul>
</body>
</html>