-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
52 lines (48 loc) · 1.52 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
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<meta charset="UTF-8" />
<!-- See the full source code for this at https://github.com/rbp/partyanimal -->
<title>:partyanimal:</title>
<style>
body {
margin: 0;
paddin: 0;
}
.partyanimalEnclosure {
margin: 3em auto;
display: block;
padding: 0;
text-align: center;
/* DEBUG */
/* background-color: blue;*/
}
#partyanimal {
padding: 0;
margin: 0 auto;
display: block;
}
@supports (image-rendering: pixelated) {
#partyanimal {
image-rendering: pixelated;
}
}
</style>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="partyanimal-frames.js"></script>
<script src="partyanimal.js"></script>
</head>
<body>
<div class="partyanimalEnclosure">
<canvas id="partyanimal" width="100" height="100">
</canvas>
:partyanimal:
</div>
<script type="text/javascript">
$(document).ready(function () {
window.partyanimal.setFrames(window.partyanimal_frames);
window.partyanimal.party("partyanimal")
}());
</script>
</body>
</html>