-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
executable file
·37 lines (36 loc) · 1.37 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
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta name="apple-mobile-web-app-capable" content="yes">
<style type="text/css">
body {
cursor: none;
}
</style>
<link rel="stylesheet" href="styles.css">
<link href='https://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
<script src="https://code.jquery.com/jquery-2.1.1.js"></script>
<script src="https://aframe.io/releases/latest/aframe.min.js"></script>
<script src="aframe-no-click-look-controls.min.js"></script>
</head>
<body>
<div id="container">
</div>
<a-scene fog="type: linear; color: #e9fcfc; far: 30; near: 4">
<a-entity camera no-click-look-controls="maxyaw:3.5; maxpitch:1.5">
<a-entity cursor="fuse: false; maxDistance: 30; timeout: 1000"
geometry="primitive: ring"
position="0 0 -1"
scale=".035 .035 .035"
material="color: white; shader: flat"></a-entity>
</a-entity>
<a-entity id='posters'></a-entity>
<a-entity id='buttons'>
<a-animation attribute=rotation from="0 1.5 0"to="0 -358.5 0"begin=0 dur=60000 repeat=infinite easing=linear></a-animation>
</a-entity>
<a-sky color="#333"</a-sky>
</a-scene>
<script src="script.js"></script>
</body>
</html>