-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
55 lines (48 loc) · 1.35 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Cellular Automata, JavaScript & MIDI</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
#generated {
font-family: monospace;
}
</style>
</head>
<body>
<h1>Cellular Automata & Web MIDI</h1>
<h2>Rules</h2>
<div>
111: <input type="number" name="rules[111]" value="0">
</div>
<div>
110: <input type="number" name="rules[110]" value="0">
</div>
<div>
101: <input type="number" name="rules[101]" value="0">
</div>
<div>
100: <input type="number" name="rules[100]" value="1">
</div>
<div>
011: <input type="number" name="rules[011]" value="1">
</div>
<div>
010: <input type="number" name="rules[010]" value="1">
</div>
<div>
001: <input type="number" name="rules[001]" value="1">
</div>
<div>
000: <input type="number" name="rules[000]" value="0">
</div>
<h2>Generated</h2>
<div id="generated"></div>
<script src="automata.js"></script>
</body>
</html>