-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlaunch.html
28 lines (28 loc) · 1.03 KB
/
launch.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Game Of Life</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="main.css">
<h1>The Game of Life</h1>
</head>
<body>
<div id="game">
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.3/p5.js"></script>
<script src="main.js"></script>
</div>
<div id="control">
<button onclick="togglelock()">Start/Pause</button>
<button onclick="setup()">Reset</button>
<form name="controls">
<label>Preset Type:</label><br>
<input type="radio" name="setting" value="1" onclick="changeBoard(this.value)">Random<br>
<input type="radio" name="setting" value="2" onclick="changeBoard(this.value)">Blank<br>
<input type="checkbox" name="grid" value="1" oninput="toggleGrid()">Grid Overlay<br>
</script>
</form><br>
</div>
</body>
</html>