forked from BrownOS/Build-a-Virtual-World---examples
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathExample-9.html
More file actions
27 lines (20 loc) · 693 Bytes
/
Copy pathExample-9.html
File metadata and controls
27 lines (20 loc) · 693 Bytes
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
<!doctype html>
<!--
Now that you learned the A-frame basic entities, it's time to learn some tips and tricks!
Check out this example!
We just took a 360 degrees photo with a simple app (native camera app in Android) and we put it as a sky in our VR world.
That way we just moved a part of a physical world into our VR world.
Quite amazing, right?
-->
<html>
<head>
<title>Hackerspace</title>
<script src="https://aframe.io/releases/latest/aframe.min.js"></script>
</head>
<body>
<a-scene>
<a-cube width="3" depth="3" height="3" color ="red" rotation="0 45 0"></a-cube>
<a-sky id="maphall" src="hackerspace.jpg" rotation="0 0 0" visible="true"></a-sky>
</a-scene>
</body>
</html>