forked from killbot/shpere
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
46 lines (45 loc) · 913 Bytes
/
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
38
39
40
41
42
43
44
45
46
<head>
<title>Shpere js13k
</title>
<style type="text/css">
html,body {
background-color: #000;
}
div#large_container {
position: relative;
margin: auto;
display: inline-block;
}
canvas#canvas13k {
position: relative;
left: 0;
top: 0;
border: 1px solid #555;
}
div#menu {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: 10;
background-color: rgba(0,0,0,0.7);
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
-ms-transition: all 0.3s ease-out;
}
img#menuGraphic {
width: 100%;
}
</style>
<script src="shpere.js"></script>
<head>
<body onLoad="shpereMain();">
<div id='large_container'>
<div id='menu'>
<img src='instructions.svg' id='menuGraphic'>
</div>
<canvas id='canvas13k' width=800 height=600></canvas>
</div>
</body>