-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMagicShifterWebGLDemo.html
79 lines (66 loc) · 2.25 KB
/
MagicShifterWebGLDemo.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>MagicShifter WebGL Demo</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
background-color: #000;
color: #fff;
font-family:Monospace;
font-size:13px;
text-align:center;
font-weight: bold;
margin: 0px;
overflow: hidden;
}
#info {
color:#000;
position: absolute;
top: 0px; width: 100%;
padding: 5px;
}
.images {
}
.images {
padding: 2px;
border: 1px solid #000;
}
.images:hover {
border: 1px solid #d0d0d0;
}
a {
color: red;
}
</style>
<script data-main="js/main" src="js/libs/require-src.js"></script>
</head>
<body>
<div style="position: fixed; top: 5px; left: 5px;">
<div style="float: left;" id="imageList">
<img class="images" src="imgs/magic16_tom.png" />
<img class="images" src="imgs/magic16_rgb.png" />
<img class="images" src="imgs/fireball.png" />
<img class="images" src="imgs/NyanCatFinal0.png" />
<img class="images" src="imgs/oneup.png" />
<img class="images" src="imgs/shroom.gif" />
<img class="images" src="imgs/star.png" />
<img class="images" src="imgs/big_smile.gif" />
<img class="images" src="imgs/icePink.gif" />
<img class="images" src="imgs/iceBlue.gif" />
<img class="images" src="imgs/iceYellow.gif" />
<img class="images" src="imgs/30c3.png" />
<img class="images" src="imgs/Metalab.png" />
<img class="images" src="imgs/Metalab2.png" />
</div><br>
<div style="float: left;">
<input type="file" id="filePicture" accept="image/*">
<a href="https://github.com/magicshifter/ShiftGenJS">github project</a>
</div><br>
<div style="float: right;"><canvas id="canvasActiveBitmap" height="16"></canvas></div>
</div>
<div id="container">
</div>
</body>
</html>