-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (57 loc) · 2.61 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
57
58
59
60
61
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>eco-sim</title>
<script defer src=https://CDN.JSDelivr.net/npm/p5></script>
<script defer src=https://CDN.JSDelivr.net/npm/p5/lib/addons/p5.dom.min.js></script>
<script language="javascript" type="text/javascript" src="eco_sim/infobox.js"></script>
<script language="javascript" type="text/javascript" src="eco_sim/food.js"></script>
<script language="javascript" type="text/javascript" src="eco_sim/organism.js"></script>
<script language="javascript" type="text/javascript" src="eco_sim/herbivore.js"></script>
<script language="javascript" type="text/javascript" src="eco_sim/carnivore.js"></script>
<script language="javascript" type="text/javascript" src="eco_sim/main.js"></script>
<link href='https://fonts.googleapis.com/css?family=Quicksand' rel='stylesheet'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="main.css">
</head>
<body>
<div class="container-fluid">
<div id="info_box" class="col-4">
<div id="top_row" class="row">
<div id="debug_info" class="col">
<div class="debug">
<input id="best_agent" type="checkbox">
<label for="best_agent">Best agent</label><br/>
</div>
<div class="debug">
<input id="food_attraction" type="checkbox">
<label for="food_attraction">Food attraction</label><br/>
</div>
<div class="debug">
<input id="food_radius" type="checkbox">
<label for="food_radius">Perception radius</label>
</div>
</div>
</div>
<div id="slider_div" class="row">
<p id="framerate" class="col">Framerate</p>
<input type="range" min="1" max="60" value="10" id="slider" class="col">
</div>
<div class="row">
<table id="org_table">
<tr>
<th>Organism</th>
<th>Health</th>
<th>Hunger</th>
<th>Fitness Score</th>
</tr>
</table>
</div>
</div>
<div class="col-8">
<div id="sketch" class="row"></div>
</div>
</div>
</body>
</html>