-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (61 loc) · 1.5 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>is::Engine 3.1</title>
<link rel="icon" href="favicon.png">
<style>
canvas {
padding-left: 0;
padding-right: 0;
margin-left: auto;
margin-right: auto;
display: block;
width: 800px;
background:black;
}
.image {
display: block;
margin-left: auto;
margin-right: auto;
-webkit-animation:spin 4s linear infinite;
-moz-animation:spin 4s linear infinite;
animation:spin 4s linear infinite;
}
@-moz-keyframes spin {
100% {-moz-transform: rotate(360deg);}
}
@-webkit-keyframes spin {
100% {-webkit-transform: rotate(360deg);}
}
@keyframes spin {
100% {-webkit-transform: rotate(360deg); transform:rotate(360deg);}
}
</style>
</head>
<body>
<img class="image" id="loading" src="loading.png" alt="Loading..." width="32" height="32">
<div id="txt_wait" style="text-align:center"><b>Please wait a few moments, it will start...</b></div>
<canvas id="canvas" oncontextmenu="event.preventDefault()">
Loading...
</canvas>
<script type="text/javascript">
window.Module = {
canvas: document.getElementById('canvas'),
print: console.log,
printErr: console.error,
};
var second = 0;
function chrono() {
second++;
if (second > 5)
{
document.getElementById('loading').style.visibility = 'hidden';
document.getElementById('txt_wait').style.visibility = 'hidden';
}
}
setInterval("chrono()", 1000);
</script>
<script async src="isengine.js"></script>
</body>
</html>