-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·23 lines (23 loc) · 1.02 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
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="../00-01_docs/libs/p5.js"></script>
<script type="text/javascript" src="../00-01_docs/libs/p5.dom.js"></script>
<script type="text/javascript" src="sketch.js"></script>
<script type="text/javascript" src="population.js"></script>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<h1>Target: <span id="target">-</span></h1>
<p>Generation: <span id="generation">0</span><br />
Population: <span id="population">0</span><br />
Mutation rate: <span id="mutation">0</span>%<br />
Target fitness: <span id="targetfit">0</span><br />
Avg. fitness: <span id="average">0</span>%<br />
Best fitness: <span id="bestfit">0</span>%</p>
<h3>Current best: <span id="fittest">-</span></h3>
<b>History:</b><br/>
<span id="caption">-</span>
<div id="generated"></div>
</body>
</html>