-
Notifications
You must be signed in to change notification settings - Fork 16
/
index.html
53 lines (37 loc) · 1.19 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"/>
<meta name="description" content="Rubik’s Cube">
<meta name="keywords" content="Erno Rubik’s Cube">
<link rel="stylesheet" type="text/css" href="styles/cube.css">
<!-- <link rel="stylesheet" type="text/css" href="examples/basic/styles/base.css"> -->
<link rel="icon" type="image/png" href="media/cuber-favicon-0064x0064.png">
<link rel="apple-touch-icon" href="media/cuber-favicon-0144x0144.png">
<style>
html, body, #container{
margin: 0px;
padding: 0px;
width: 100%;
height: 100%;
}
#container{
background: black;
}
</style>
<title>Cube</title>
</head>
<body>
<div id='container'></div>
<script src='js/cube/cuber.min.js'></script>
<script src='js/photon.js'></script>
<script src='//code.jquery.com/jquery-2.1.1.min.js'></script>
<script>
var container = document.querySelector( '#container' ),
cube = new ERNO.Cube();
light = new Photon.Light( 10, 0, 100 );
container.appendChild( cube.domElement );
</script>
</body>
</html>