-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathindex.html
550 lines (416 loc) · 20.3 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
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
<!DOCTYPE html>
<html lang="en"
data-is-home="true"
data-is-mobile="false"
data-supports-vr="false"
data-supports-touch="false"
data-site-base-url="https://aframe.io"
data-site-root-path="/"
data-site-home-url="https://aframe.io/"
data-lib-home-url="https://aframe.io/"
data-lib-examples-url="https://aframe.io/aframe/examples"
data-title="{title} | A-Frame"
data-is-spa="false"
data-ga-id="UA-111391431-24"
data-aframe-version="1.7.0"
data-docs-version="1.7.0">
<head>
<title>A-Frame – Make WebVR</title>
<script>
var host = window.location.protocol + '//' + window.location.hostname;
if (window.location.protocol === 'http:' &&
window.location.hostname === 'https://aframe.io') {
window.location.href = 'https:' + window.location.href.substring(6);
}
</script>
<meta charset="utf-8">
<!-- Don't index old documentation pages. -->
<meta name="robots"
content="all">
<meta name="description" content="A web framework for building virtual reality experiences. Make WebVR with HTML and Entity-Component. Works on Vive, Rift, desktop, mobile platforms.">
<meta name="keywords" content="webvr,webvr framework,webvr demos,webvr sites,vr javascript,vr framework">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!-- Origin Trial Token, feature = WebXR Device API, origin = https://aframe.io, expires = 2018-03-05 -->
<meta http-equiv="origin-trial" data-feature=" WebXR Device API (For Chrome M69+)" data-expires="2019-03-05" content="Ako5ueZ8LIub4MywyaWBtX6FQOVZBYPxDUBC09XfJRjVfQH1GXOaRO8v4/TQWyPdmw2qm8nJ/f9QfFwE+t20NwsAAABkeyJvcmlnaW4iOiJodHRwczovL2FmcmFtZS5pbzo0NDMiLCJmZWF0dXJlIjoiV2ViWFJEZXZpY2VNNjkiLCJleHBpcnkiOjE1NTE4MzAzOTksImlzU3ViZG9tYWluIjp0cnVlfQ==">
<!-- Origin Trial Token, feature = WebVR (For Chrome M62+), origin = https://aframe.io, expires = 2018-08-09 -->
<meta http-equiv="origin-trial" data-feature="WebVR (For Chrome M62+)" data-expires="2018-08-09" content="AlKeBeX7MGtuPmoZUks7FEWi6ke/EeYDPS1zhkb9bsdGr+r9gv+vYXGN7pUIz8+4XPxpWi7guenedSC1jM8B6AcAAABOeyJvcmlnaW4iOiJodHRwczovL2FmcmFtZS5pbzo0NDMiLCJmZWF0dXJlIjoiV2ViVlIxLjFNNjIiLCJleHBpcnkiOjE1MzM4NDAyMzN9">
<link rel="canonical" href="https://aframe.io">
<link href="https://fonts.googleapis.com/css?family=Fira+Sans:300,400,600" rel="stylesheet">
<meta property="fb:app_id" content="1535794316743373">
<meta property="og:title" content="A-Frame – Make WebVR">
<meta property="og:site_name" content="A-Frame">
<meta property="og:type" content="website">
<meta property="og:url" content="https://aframe.io">
<meta property="og:description" content="A web framework for building virtual reality experiences. Make WebVR with HTML and Entity-Component. Works on Vive, Rift, desktop, mobile platforms.">
<meta property="og:image" content="http://aframe.io/images/card.jpg?v2">
<meta property="og:image:secure_url" content="https://aframe.io/images/card.jpg?v2">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@aframevr">
<meta name="twitter:creator" content="@aframevr">
<meta name="twitter:title" content="A-Frame – Make WebVR">
<meta name="twitter:description" content="A web framework for building virtual reality experiences. Make WebVR with HTML and Entity-Component. Works on Vive, Rift, desktop, mobile platforms.">
<meta name="twitter:image" content="http://aframe.io/images/card.jpg?v2">
<meta name="mobile-web-app-capable" content="yes">
<meta name="theme-color" content="black">
<link rel="icon" sizes="192x192" href="https://aframe.io/images/aframe-logo-192.png">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-icon" href="https://aframe.io/images/aframe-logo-152.png">
<link rel="alternate" type="application/rss+xml" title="Feed" href="https://aframe.io/feed.xml">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-111391431-24', 'auto');
ga('send', 'pageview');
ga('send', 'event', 'pageload.querystring', window.location.search);
ga('send', 'event', 'pageload.hash', window.location.hash);
</script>
<script src="/js/compat.js"></script>
<link rel="stylesheet" href="/css/index.css">
<!-- Search. -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.css"/>
<link rel="stylesheet" href="/css/search.css">
<meta name="generator" content="Hexo 7.2.0"></head>
<body data-page-layout="index" data-page-type="examples">
<main id="main" class="main">
<!-- Homepage examples bar. -->
<aside class="sidebar">
<div class="sidebar__wrap">
<div class="sidebar__wrap__inner">
<!-- Wordmark. -->
<header id="header" class="header">
<a id="logo" class="logo borderless-links" href="/">
<span class="logo__wordmark">A-Frame</span>
</a>
</header>
<!-- Get Started for Mobile. -->
<a href="/docs/" class="mobile-get-started nav-link get-started">
Get Started
</a>
<div class="list examples-list blog-list">
<h2 class="page-title"><a href="/blog">Blog</a></h2>
<ul id="examplesSubnav"
class="subnav examples-subnav borderless-links">
<li class="example-item">
<a class="subnav-link" href="https://aframe.io/blog/aframe-v1.7.0/" title="A-Frame 1.7.0 - Post-processing, WebGPU and TSL, Logitech MX Ink integration">A-Frame 1.7.0 - Post-processing, WebGPU and TSL, Logitech MX Ink integration</a>
</li>
</ul>
</div>
<!-- Examples. -->
<div class="list examples-list">
<h2 class="page-title">Examples</h2>
<ul id="examplesSubnav"
class="subnav examples-subnav borderless-links">
<li data-current="false"
data-supports-mobile="true"
data-example-url="/examples/showcase/helloworld/"
data-scene-url="https://aframe.io/aframe/examples/boilerplate/hello-world/"
data-slug="helloworld"
data-idx="0"
class="example-item subnav-item">
<a href="/examples/showcase/helloworld/"
class="subnav-link"
>
<span class="sidebar__link__text">Hello WebVR</span>
</a>
</li>
<li data-current="false"
data-supports-mobile="true"
data-example-url="/examples/showcase/modelviewer/"
data-scene-url="https://aframe.io/aframe/examples/showcase/model-viewer/"
data-slug="modelviewer"
data-idx="1"
class="example-item subnav-item">
<a href="/examples/showcase/modelviewer/"
class="subnav-link"
title="By Supermedium (@supermediumvr)"
>
<span class="sidebar__link__text">Model Viewer</span>
</a>
</li>
<li data-current="false"
data-supports-mobile="true"
data-example-url="/examples/showcase/handtracking/"
data-scene-url="https://aframe.io/aframe/examples/showcase/hand-tracking/"
data-slug="handtracking"
data-idx="2"
class="example-item subnav-item">
<a href="/examples/showcase/handtracking/"
class="subnav-link"
title="By Supermedium (@supermediumvr)"
>
<span class="sidebar__link__text">Hand Tracking</span>
</a>
</li>
<li data-current="false"
data-supports-mobile="true"
data-example-url="/examples/showcase/responsiveui/"
data-scene-url="https://aframe.io/aframe/examples/showcase/ui/"
data-slug="responsiveui"
data-idx="3"
class="example-item subnav-item">
<a href="/examples/showcase/responsiveui/"
class="subnav-link"
title="By Supermedium (@supermediumvr)"
>
<span class="sidebar__link__text">Responsive UI</span>
</a>
</li>
<li data-current="false"
data-supports-mobile="true"
data-example-url="/examples/showcase/sky/"
data-scene-url="https://aframe.io/aframe/examples/boilerplate/panorama/"
data-slug="sky"
data-idx="4"
class="example-item subnav-item">
<a href="/examples/showcase/sky/"
class="subnav-link"
>
<span class="sidebar__link__text">360° Image</span>
</a>
</li>
<li data-current="false"
data-supports-mobile="true"
data-example-url="/examples/showcase/360-video/"
data-scene-url="https://aframe.io/aframe/examples/boilerplate/360-video/"
data-slug="360-video"
data-idx="5"
class="example-item subnav-item">
<a href="/examples/showcase/360-video/"
class="subnav-link"
>
<span class="sidebar__link__text">360 Video</span>
</a>
</li>
<li data-current="false"
data-supports-mobile="true"
data-example-url="/examples/showcase/anime-UI/"
data-scene-url="https://aframe.io/aframe/examples/showcase/anime-UI/"
data-slug="anime-UI"
data-idx="6"
class="example-item subnav-item">
<a href="/examples/showcase/anime-UI/"
class="subnav-link"
>
<span class="sidebar__link__text">Anime UI</span>
</a>
</li>
<li data-current="false"
data-supports-mobile="true"
data-example-url="/examples/showcase/post-processing/"
data-scene-url="https://aframe.io/aframe/examples/showcase/post-processing/"
data-slug="post-processing"
data-idx="7"
class="example-item subnav-item">
<a href="/examples/showcase/post-processing/"
class="subnav-link"
>
<span class="sidebar__link__text">Post-Processing</span>
</a>
</li>
<li data-current="false"
data-supports-mobile="true"
data-example-url="/examples/showcase/webgpu/"
data-scene-url="https://aframe.io/aframe/examples/showcase/webgpu/"
data-slug="webgpu"
data-idx="8"
class="example-item subnav-item">
<a href="/examples/showcase/webgpu/"
class="subnav-link"
>
<span class="sidebar__link__text">WebGPU and TSL</span>
</a>
</li>
<li data-current="false"
data-supports-mobile="false"
data-example-url="/examples/showcase/beatsaver-viewer/"
data-scene-url="https://supermedium.com/beatsaver-viewer/?id=1183-814"
data-slug="beatsaver-viewer"
data-idx="9"
class="example-item subnav-item">
<a href="/examples/showcase/beatsaver-viewer/"
class="subnav-link"
title="By Supermedium (@supermediumvr)"
>
<span class="sidebar__link__text">BeatSaver Viewer</span>
</a>
</li>
<li data-current="false"
data-supports-mobile="false"
data-example-url="/examples/showcase/moonrider/"
data-scene-url="https://moonrider.xyz"
data-slug="moonrider"
data-idx="10"
class="example-item subnav-item">
<a href="/examples/showcase/moonrider/"
class="subnav-link"
>
<span class="sidebar__link__text">Moon Rider</span>
</a>
</li>
<li data-current="false"
data-supports-mobile="false"
data-example-url="/examples/showcase/gunters-of-oasis/"
data-scene-url="https://supermedium.com/gunters-of-oasis-deploy/"
data-slug="gunters-of-oasis"
data-idx="11"
class="example-item subnav-item">
<a href="/examples/showcase/gunters-of-oasis/"
class="subnav-link"
title="By Supermedium (@supermediumvr)"
>
<span class="sidebar__link__text">Gunters of OASIS</span>
<img class="example-tracked-controllers" src="/images/controllers.png" title="This example supports or requires tracked controllers.">
</a>
</li>
<li data-current="false"
data-supports-mobile="false"
data-example-url="/examples/showcase/super-says/"
data-scene-url="https://supermedium.github.io/supersays/src/"
data-slug="super-says"
data-idx="12"
class="example-item subnav-item">
<a href="/examples/showcase/super-says/"
class="subnav-link"
title="By Supermedium (@supermediumvr)"
>
<span class="sidebar__link__text">Super Says</span>
<img class="example-tracked-controllers" src="/images/controllers.png" title="This example supports or requires tracked controllers.">
</a>
</li>
<li data-current="false"
data-supports-mobile="false"
data-example-url="/examples/showcase/towermaxfitness/"
data-scene-url="https://towermax.fitness/tower/"
data-slug="towermaxfitness"
data-idx="13"
class="example-item subnav-item">
<a href="/examples/showcase/towermaxfitness/"
class="subnav-link"
>
<span class="sidebar__link__text">Towermax Fitness</span>
<img class="example-tracked-controllers" src="/images/controllers.png" title="This example supports or requires tracked controllers.">
</a>
</li>
<li data-current="false"
data-supports-mobile="true"
data-example-url="/examples/showcase/a-blast/"
data-scene-url="https://aframe.io/a-blast/"
data-slug="a-blast"
data-idx="14"
class="example-item subnav-item">
<a href="/examples/showcase/a-blast/"
class="subnav-link"
>
<span class="sidebar__link__text">A-Blast</span>
<img class="example-tracked-controllers" src="/images/controllers.png" title="This example supports or requires tracked controllers.">
</a>
</li>
<li data-current="false"
data-supports-mobile="true"
data-example-url="/examples/showcase/a-painter/"
data-scene-url="https://aframe.io/a-painter/?url=https://ucarecdn.com/962b242b-87a9-422c-b730-febdc470f203/"
data-slug="a-painter"
data-idx="15"
class="example-item subnav-item">
<a href="/examples/showcase/a-painter/"
class="subnav-link"
>
<span class="sidebar__link__text">A-Painter</span>
<img class="example-tracked-controllers" src="/images/controllers.png" title="This example supports or requires tracked controllers.">
</a>
</li>
<li data-current="false"
data-supports-mobile="true"
data-example-url="/examples/showcase/a-saturday-night/"
data-scene-url="https://aframe.io/a-saturday-night/"
data-slug="a-saturday-night"
data-idx="16"
class="example-item subnav-item">
<a href="/examples/showcase/a-saturday-night/"
class="subnav-link"
>
<span class="sidebar__link__text">A Saturday Night</span>
<img class="example-tracked-controllers" src="/images/controllers.png" title="This example supports or requires tracked controllers.">
</a>
</li>
</ul>
<!-- Navigation arrows. -->
<nav class="example-nav c">
<a id="examplePrev" class="example-nav-link example-nav-prev" href="#">← <span>Previous</span></a>
<a id="exampleNext" class="example-nav-link example-nav-next float-right" href="#"><span>Next</span> →</a>
</nav>
</div>
</div>
</div>
</aside>
<div class="content content--index home-content">
<div class="home-center">
<iframe
id="exampleIframe" class="example__iframe"
width="100%" height="100%"
src="https://aframe.io/aframe/examples/animation/aframe-logo/?ui=false"
allowfullscreen="yes" allowvr="yes" scrolling="no"></iframe>
</div>
<div id="homeContent" class="copy__wrap">
<ul class="menu">
<li class="menu-item">
<a href="/docs/1.7.0/introduction/">Docs</a>
</li>
<li class="menu-item">
<a href="/faq/">FAQ</a>
</li>
<li class="menu-item">
<a href="/blog/">Blog</a>
</li>
<li class="menu-item">
<a href="/community/">Community</a>
</li>
<li class="menu-item">
<a href="/showcase/">Showcase</a>
</li>
</ul>
<h1 class="slogan">
A web framework for building 3D/AR/VR experiences
</h1>
<div class="intro">
<p>Make 3D worlds with HTML and Entity-Component</p>
<p>On any headset, mobile and desktop</p>
</div>
<a href="/docs/1.7.0/introduction/"
class="get-started nav-link">
Get Started
</a>
<div id="usersContainer">
<p>Special Sponsors</p>
<div>
<a href="https://supermedium.com"><img src="/images/users/supermedium.svg"></a>
</div>
</div>
</div>
</div>
</main>
<script src="/js/common.js"></script>
<script src="/js/examples.js"></script>
<script src="/js/docs.js"></script>
<!-- Algolia search. -->
<script src="https://cdn.jsdelivr.net/npm/algoliasearch/dist/algoliasearch.umd.min.js"></script>
<script type="text/javascript" src="/js/docsearch.min.js"></script>
<script type="text/javascript">
var searchConfig = {
appId: 'N5FBG9I0SH',
apiKey: '2166b9095d153b15b047283347535ff0',
indexName: 'aframe',
algoliaOptions: {
facetFilters: ['version:1.7.0'],
hitsPerPage: 10
},
debug: false
};
docsearch(Object.assign(searchConfig, {inputSelector: '.docs-search-sidebar .search-field'}));
docsearch(Object.assign(searchConfig, {inputSelector: '.docs-search-sidebar-mobile .search-field'}));
</script>
</body>
</html>