forked from MichaelHoste/xmoto.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
84 lines (72 loc) · 2.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-39515762-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "UA-39515762-1");
</script>
<meta name="description" content="XMoto on top of COVID-19 data" />
<link href="style.css" type="text/css" rel="stylesheet" />
<title>COVID XMoto</title>
<link rel="shortcut icon" href="/images/favicon.ico">
</head>
<body>
<div id="content">
<div id="xmoto"></div>
<div id="loading">Loading JHU CSSE COVID-19 Data, please wait...</div>
<div id="restart_text">Press "Enter" to restart</div>
<div id="chrono"></div>
<div id="hint">
Climb over each country's COVID-19 daily new cases timeseries in a race
for the cure!
<br />
"arrows" to move / "space" to flip / "enter" to restart / "scroll" to zoom
<br />
<br />
<a href="https://github.com/JamesFator/COVID-XMoto">Source code on GitHub</a>
</div>
</div>
<div style="clear: both"></div>
<script
src="https://code.jquery.com/jquery-1.10.2.min.js"
type="text/javascript"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/5.3.3/pixi.min.js"
type="text/javascript"
></script>
<script
src="https://cdn.jsdelivr.net/npm/box2dweb@2.1.0-b/box2d.js"
type="text/javascript"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/lz-string/1.4.4/lz-string.min.js"
type="text/javascript"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/purl/2.3.1/purl.min.js"
type="text/javascript"
></script>
<script src="xmoto.js" type="text/javascript"></script>
<script src="theme.js" type="text/javascript"></script>
<script src="level.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
var params = $.url().param();
var options = {
width: 1000,
height: 600,
debug: params.debug == "true",
};
// initialize level
$.xmoto(options);
});
</script>
</body>
</html>