-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
22 lines (22 loc) · 766 Bytes
/
index.html
File metadata and controls
22 lines (22 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>AR Project</title>
<script src="https://aframe.io/releases/1.1.0/aframe.min.js"></script>
<script src="https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar.js"></script>
</head>
<body>
<a-scene embedded arjs>
<a-marker preset='hiro'>
<a-box position='0 0.5 0' rotation="0 47 0" color="yellow"></a-box>
<a-entity
position="0 3 0"
rotation="-60 0 0"
text="align: center; width: 10; color: #FF0000; font: roboto; value: This is AR!">
</a-entity>
</a-marker>
<a-entity camera></a-entity>
</a-scene>
</body>
</html>