Spaces:
Running
Running
Update index.html
Browse files- index.html +33 -16
index.html
CHANGED
@@ -1,19 +1,36 @@
|
|
1 |
<!DOCTYPE html>
|
2 |
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
</html>
|
|
|
1 |
<!DOCTYPE html>
|
2 |
<html>
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
<title>Minnesota Map</title>
|
6 |
+
<script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script>
|
7 |
+
<script src="https://unpkg.com/aframe-environment-component/dist/aframe-environment-component.min.js"></script>
|
8 |
+
<style>
|
9 |
+
#canvas {
|
10 |
+
height: 500px;
|
11 |
+
width: 800px;
|
12 |
+
}
|
13 |
+
</style>
|
14 |
+
</head>
|
15 |
+
<body>
|
16 |
+
<a-scene>
|
17 |
+
<a-entity environment="preset: forest"></a-entity>
|
18 |
+
|
19 |
+
<!-- Define the polygons for Minnesota -->
|
20 |
+
<a-entity position="-2.5 0 0">
|
21 |
+
<a-polygon fill="#2D6C4E" vertices="0 0, 1 0, 0.5 1"></a-polygon>
|
22 |
+
<a-polygon fill="#2D6C4E" vertices="0.5 1, 1 0, 1 1"></a-polygon>
|
23 |
+
<a-polygon fill="#2D6C4E" vertices="0 0, 0 1, 0.5 1"></a-polygon>
|
24 |
+
<a-polygon fill="#2D6C4E" vertices="0.5 0, 1 0, 0.5 1"></a-polygon>
|
25 |
+
</a-entity>
|
26 |
+
<a-entity position="2.5 0 0">
|
27 |
+
<a-polygon fill="#2D6C4E" vertices="0 0, 1 0, 0.5 1"></a-polygon>
|
28 |
+
<a-polygon fill="#2D6C4E" vertices="0 0, 0 1, 0.5 1"></a-polygon>
|
29 |
+
<a-polygon fill="#2D6C4E" vertices="0.5 0, 1 0, 1 1"></a-polygon>
|
30 |
+
<a-polygon fill="#2D6C4E" vertices="0.5 0, 0.5 1, 1 1"></a-polygon>
|
31 |
+
</a-entity>
|
32 |
+
|
33 |
+
<a-entity camera position="0 1.6 0"></a-entity>
|
34 |
+
</a-scene>
|
35 |
+
</body>
|
36 |
</html>
|