-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
69 lines (68 loc) · 2.42 KB
/
index.html
File metadata and controls
69 lines (68 loc) · 2.42 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Hand Tracking Simulator</title>
</head>
<body>
<div id="app">
<div class="container">
<!-- Left Hand Panel -->
<div class="led-panel left-panel">
<h3>Left Hand</h3>
<div class="led-group">
<div class="led-wrapper">
<div id="led-left-index" class="led"></div>
<span>Index</span>
</div>
<div class="led-wrapper">
<div id="led-left-middle" class="led"></div>
<span>Middle</span>
</div>
<div class="led-wrapper">
<div id="led-left-ring" class="led"></div>
<span>Ring</span>
</div>
<div class="led-wrapper">
<div id="led-left-pinky" class="led"></div>
<span>Pinky</span>
</div>
</div>
</div>
<!-- Right Hand Panel -->
<div class="led-panel right-panel">
<h3>Right Hand</h3>
<div class="led-group">
<div class="led-wrapper">
<div id="led-right-index" class="led"></div>
<span>Index</span>
</div>
<div class="led-wrapper">
<div id="led-right-middle" class="led"></div>
<span>Middle</span>
</div>
<div class="led-wrapper">
<div id="led-right-ring" class="led"></div>
<span>Ring</span>
</div>
<div class="led-wrapper">
<div id="led-right-pinky" class="led"></div>
<span>Pinky</span>
</div>
</div>
</div>
<!-- Video element for camera input (hidden, we draw to canvas) -->
<video id="input_video" style="display: none;"></video>
<!-- Canvas for output -->
<canvas id="output_canvas"></canvas>
<div class="overlay">
<h1>Hand Tracking Simulator</h1>
<p>Bring your hands into the frame</p>
</div>
</div>
</div>
<script type="module" src="/src/main.js"></script>
</body>
</html>