-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
63 lines (49 loc) · 1.58 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
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>PIXI (v4) - TRANSFORM TOOL</title>
<meta name="viewport" content="target-densitydpi=medium-dpi, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="apple-touch-fullscreen" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="format-detection" content="telephone=no">
<link rel="image_src" href="favicon.gif" />
<link rel="icon" type="image/gif" href="favicon.gif" />
<style>
body, html {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
background-color: #dadada;
overflow: hidden;
}
.canvasHolder {
width: 100%;
height: auto;
max-width: 1000px;
}
.centerbox {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
}
</style>
<script src="js/lib/jquery.js"></script>
<script src="js/lib/pixi.min.js"></script>
<script src="js/lib/tweenmax/TweenMax.min.js"></script>
<script src="js/lib/hammer.min.js"></script>
<script src="js/plugins/helper.js"></script>
<script src="js/plugins/gpixi.js"></script>
<script src="js/plugins/pixi-transform-tool.min.js"></script>
<script src="js/index.js"></script>
</head>
<body>
<div class="canvasHolder centerbox">
<canvas width="800" height="600"></canvas>
</div>
</body>
</html>