-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
56 lines (49 loc) · 2.3 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
56
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<script src="dist/gpu-browser.min-2.15.0-FIX-GPUX.js"></script>
<link rel="stylesheet" href="./css/style.css">
<link rel="shortcut icon" type="image/x-icon" href="./favicon.ico">
<title>Neural Cellular Automata</title>
</head>
<body>
<canvas id="canvas"></canvas>
<div id="contentDiv">
<div class="configuration" id="configFields">
<label style="display:none;" for="inputColumnNumber">Column number:</label>
<input style="display:none;" id="inputColumnNumber" size="5" onchange="updateConfiguration()"/>
<label style="display:none;" for="inputRowNumber">Row number:</label>
<input style="display:none;" id="inputRowNumber" size="5" onchange="updateConfiguration()"/>
<label for="kernelInput">Kernel:</label>
<div id="kernelInput">
<input id="kernel00" size="6" onchange="updateConfiguration()"/>
<input id="kernel01" size="6" onchange="updateConfiguration()"/>
<input id="kernel02" size="6" onchange="updateConfiguration()"/>
<input id="kernel10" size="6" onchange="updateConfiguration()"/>
<input id="kernel11" size="6" onchange="updateConfiguration()"/>
<input id="kernel12" size="6" onchange="updateConfiguration()"/>
<input id="kernel20" size="6" onchange="updateConfiguration()"/>
<input id="kernel21" size="6" onchange="updateConfiguration()"/>
<input id="kernel22" size="6" onchange="updateConfiguration()"/>
</div>
</div>
<br>
<div class="configuration" id="activationFunction">
<label for="activationFunctionBody">Activation function f(x):</label>
<textarea id="activationFunctionBody" rows="3" wrap="hard" onchange="updateConfiguration()"></textarea>
</div>
<br>
<div class="configuration" id="presets">
<h4 id="presetsTitle">Quick presets:</h4>
</div>
</div>
<script src="src/layers/MainLayer.js"></script>
<script src="src/global/Configuration.js"></script>
<script src="src/global/Presets.js"></script>
<script src="./Main.js"></script>
</body>
</html>