-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
51 lines (42 loc) · 1.48 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>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Isaac.js</title>
</head>
<body>
<a href="https://github.com/nicolasbrugneaux/isaac.js"
style="position:absolute; height:141px; width:141px; top:0; right:0;"
target="_blank">
<img src="build/img/fork_me.png" alt="Fork me">
</a>
<canvas id="app" width="800" height="480">
You need a proper browser meatbag.
</canvas>
<div class="volume">
<span>Volume: </span>
<input id="js-volume" type="range" min="0" max="100" />
<span id="js-volume--display"></span>
</div>
<br>
<p>This was made because the original game is amazing and I wanted to give them back all the honor, I don't own any pictures and/or want to gain any benefit from that, <a href="http://store.steampowered.com/app/250900/">buy the original awesome game on steam</a>. <3</p>
<script src="build/js/bundle.js"></script>
<script src="build/vendor/stats.js/build/stats.min.js"></script>
<script>
var stats = new Stats();
stats.setMode(0); // 0: fps, 1: ms
// align top-left
stats.domElement.style.position = 'absolute';
stats.domElement.style.left = '820px';
stats.domElement.style.top = '10px';
document.body.appendChild( stats.domElement );
var update = function () {
stats.begin();
// monitored code goes here
stats.end();
requestAnimationFrame( update );
};
update();
</script>
</body>
</html>