-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (34 loc) · 1.08 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
<!doctype html>
<html>
<head>
<title>Elementary cellular automata</title>
<script type="text/javascript" src="js/model.js"></script>
<script type="text/javascript" src="js/view.js"></script>
<script type="text/javascript" src="js/controller.js"></script>
<script type="text/javascript" src="js/controls.js"></script>
<link rel="stylesheet" href="css/main.css"/>
</head>
<body>
<canvas id="canvas"></canvas>
<form id="controls">
<div class="input">
<input id="decimal"/>
</div>
<div class="input">
<input id="binary"/>
</div>
<div class="radiogroup">
Initial state:<br/>
<input type="radio" name="initialstate" value="one" checked/> One point in the center<br/>
<input type="radio" name="initialstate" value="full"/> Full initial state<br/>
<input type="radio" name="initialstate" value="empty"> Empty initial state<br/>
<input type="radio" name="initialstate" value="random"> Random initial state
</div>
<input id="run" type="submit" value="Draw!"/>
</form>
<div id="loadmask">drawing...</div>
<script type="text/javascript">
C.init();
</script>
</body>
</html>