-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinteractive.html
46 lines (41 loc) · 1.68 KB
/
interactive.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
<html onmousemove="moveMouse(event)" onkeydown="keyDownFunc(event)" onkeyup="keyUpFunc(event)">
<head>
<title>This is Tom!</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css"
integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r"
crossorigin="anonymous">
<style>
body {
margin: 0;
text-align: center;
background-color: #116ea0;
}
html{
background-color: #116ea0;
color: white;
}
canvas { width: 100%; height: 100% }
</style>
<link rel="stylesheet" href="styles.css">
<link href='https://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
</head>
<body>
<div id="bufWebglError"></div>
<a href="nonInteractive.html" id="webglError" class="col-lg-offset-3 col-lg-6 col-md-offset-2 col-md-8 col-sm-12">It seems your browser does not support WebGL! Want to learn more about Tom in an other way? Click here...</a>
<script src="js/libs/three.min.js"></script>
<script src="js/handyFunctions.js"></script>
<script src="js/camera.js"></script>
<script src="js/lights.js"></script>
<script src="js/map.js"></script>
<script src="js/input.js"></script>
<script src="js/game.js"></script>
<script src="js/clouds.js"></script>
<script src="js/init.js"></script>
</body>
</html>