-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
43 lines (34 loc) · 1.05 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
<!doctype html>
<html Lang="en">
<head>
<meta charset="utf-8">
<title>VoiceXR experiment</title>
<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
<script src="voice-ui.js"></script>
<style>
#button-container {
position: absolute;
right: 20px;
bottom: 20px;
}
#button-container #button {
font-family: sans-serif,monospace;
font-size: 20px;
font-weight: 200;
}
</style>
</head>
<body>
<h1>VoiceXR experiment</h1>
<div id="display" aria-live="assertive"></div>
<a-scene id="scene">
<a-sphere radius="3" color="white" position="4 3 -10"></a-sphere>
<a-box color="red" position="0 2 -5" rotation="0 45 45" scale="2 2 2"></a-box>
<a-sky color="purple"></a-sky>
<a-plane color="green" rotation="-90 0 0" width="30" height="30"></a-plane>
</a-scene>
<div id="button-container">
<button id="button" aria-pressed="false">Talk</button>
</div>
</body>
</html>