forked from mozilla/three.xr.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
81 lines (73 loc) · 1.89 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
<html>
<head>
<title>three.xr.js examples</title>
<meta charset="utf-8">
<style>
body, html {
padding: 0;
margin: 0;
width: 100%;
height: 100%;
background-color: white;
font-family: sans-serif;
font-size: 16px;
line-height: 1.2em;
}
body > section {
padding: 60px;
}
ul {
list-style: none;
padding-left: 0;
}
li {
margin-bottom: 35px;
}
.intro {
max-width: 40em;
}
.source {
font-size: 0.8em;
}
a {
text-decoration: none;
}
li a {
font-size: 1.3em;
}
li p {
margin-top: 0.5em;
}
</style>
</head>
<body>
<section>
<h1>three.xr.js Examples</h1>
<h2>XR</h2>
<ul>
<li>
<a href="examples/xr/basic/">xr/basic</a>
<a class="source" href="https://github.com/arturitu/three.xr.js/blob/master/examples/xr/basic/index.html">source</a>
<p>Use Three.js to render a cube in a XR scene. Automatically detect what sessions (VR or AR) are available.</p>
</li>
<li>
<a href="examples/xr/debug/">xr/debug</a>
<a class="source" href="https://github.com/arturitu/three.xr.js/blob/master/examples/xr/debug/index.html">source</a>
<p>Use Three.js to render anchors from ARKit. Automatically detect what sessions (VR or AR) are available.</p>
</li>
</ul>
<h2>AR</h2>
<ul>
<li>
<a href="examples/ar/reticle/">ar/reticle</a>
<a class="source" href="https://github.com/arturitu/three.xr.js/blob/master/examples/ar/reticle/index.html">source</a>
<p>Use Three.js to place a reticle on surfaces in an AR scene.</p>
</li>
<li>
<a href="examples/ar/light/">ar/light</a>
<a class="source" href="https://github.com/arturitu/three.xr.js/blob/master/examples/ar/light/index.html">source</a>
<p>Use Three.js to place a reticle with a pin and light estimation on surfaces in an AR scene.</p>
</li>
</ul>
</body>
</html>