forked from louisdorard/360.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path360photo.html
46 lines (40 loc) · 1.2 KB
/
360photo.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
44
45
46
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<title>360° photo viewer - Three.js WebGL</title>
<style>
html {height: 100%}
body {
background-color: #000000;
margin: 0px;
overflow: hidden;
}
#cont
{
width: 100%;
height: 100%;
margin: 0px;
}
#info {
position: absolute;
top: 0px; width: 100%;
color: #ffffff;
padding: 5px;
font-family:Monospace;
font-size:13px;
font-weight: bold;
text-align:center;
}
a {
color: #ffffff;
}
</style>
<script type="text/javascript" src="../libraries/three.js" ></script>
<script type="text/javascript" src="360photo.js" ></script>
</head>
<body>
<div id="cont"></div>
<div id="info">Powered by <a href="http://threejs.org" target="_blank">three.js webgl</a>. See readme file for information on where to get 360° photos.</div>
</body>
</html>