-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
43 lines (41 loc) · 1.06 KB
/
index.html
File metadata and controls
43 lines (41 loc) · 1.06 KB
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
<!DOCTYPE html>
<html>
<style>
html, body {margin: 0; height: 100%; overflow: hidden}
</style>
<head>
<meta charset=utf-8>
<title>Rubics Cube</title>
<style>
body { margin: 0; }
canvas { width: 100%; height: 100% }
</style>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-148032432-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-148032432-1');
</script>
</head>
<body>
<script src="lib/three.js"></script>
<script src="lib/orbit.js"></script>
<script src="lib/Trackball.js"></script>
<script src="build/environment.js"></script>
<script src="build/game.js"></script>
<button id='btn'
style="position: absolute;
top: 0px;
left: 0px;
margin: 10px;
width: 200px;
height: 30px;
background-color: dimgrey;
color: white;
font-size: 20px;
border-radius: 7px;"
onclick="shuffle()">SHUFFLE</button>
</body>
</html>