forked from marlon360/webxr-handtracking
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (60 loc) · 2.62 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WebXR - Hand Tracking Examples</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<main>
<div class="title">
<h1>
WebXR - Hand Tracking Examples 👐
<a class="github-button" href="https://github.com/marlon360/webxr-handtracking" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star marlon360/webxr-handtracking on GitHub">Star</a>
<a class="github-button" href="https://github.com/sponsors/marlon360" data-icon="octicon-heart" data-size="large" aria-label="Sponsor @marlon360 on GitHub">Sponsor</a>
</h1>
<h4>by Marlon Lückert (<a href="https://marlon-lueckert.de">https://marlon-lueckert.de</a>)</h4>
</div>
<h2>How to run? 🔧</h2>
<ol>
<li>Use a supported device (e.g. Oculus Quest)</li>
<li>Enable the experimental feature in the browser (Oculus Browser)</li>
<ol>
<li>Visit <a href="chrome://flags/">chrome://flags/</a></li>
<li>Enable <em>WebXR experiences with joints tracking (#webxr-hands)</em></li>
<li>Disable <em>WebXR experiences with hands tracking (#webxr-hands-tracking)</em></li>
</ol>
<li>Enable automatic switching between hands and controller in Oculus Settings</li>
<li>Open an example from below</li>
<li>Enter VR with controller</li>
<li>Put controllers to the side and enjoy hand tracking</li>
</ol>
<div class="example">
<h2>Basic Example</h2>
<ul>
<li>visualize hands</li>
<li>grab object by pinching with thumb and index finger</li>
</ul>
<a href="basic.html">Open Example</a>
</div>
<div class="example">
<h2>Improved Hand Model Example</h2>
<ul>
<li>hand model similar to the leap motion model</li>
</ul>
<a href="hand-model-leap-motion.html">Open Example</a>
</div>
<div class="example">
<h2>A-Frame Example</h2>
<ul>
<li>A-Frame framework integration</li>
<li>slider interaction</li>
<li>toggle interaction</li>
</ul>
<a href="aframe.html">Open Example</a>
</div>
</main>
</body>
<script async defer src="https://buttons.github.io/buttons.js"></script>
</html>