-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.html
42 lines (36 loc) · 1.25 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
<!doctype html>
<html>
<head>
<title>Conway's Game of Life</title>
<link rel="stylesheet" href="style/main.css" type="text/css">
</head>
<body>
<!-- Set up Web MIDI polyfill -->
<script src='https://cwilso.github.com/WebMIDIAPIShim/lib/WebMIDIAPI.js'></script>
<script src="js/cell.js"></script>
<button onclick="tick()">tick</button>
<div id="universe">
</div>
<p>
MIDI Input:
<select id=midiIn onchange='changeMidiIn();'>
<option value="">Not connected</option>
</select>
MIDI Output:
<select id=midiOut onchange='changeMidiOut();'>
<option value="">Not connected</option>
</select>
</p>
<a href="https://github.com/cwilso/conway" style="position: absolute; z-index:2; top: 0; right: 0; border: 0;"><img src="img/forkme.png" alt="Fork me on GitHub"></a>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-35593052-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>