forked from WebRTCGame/flocking
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (35 loc) · 1.24 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
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>Shoal - Autonomous agents + genetic algorithms in Javascript</title>
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<script src="src/Globals.js" type="application/javascript"></script>
<script src="src/Utility.js" type="application/javascript"></script>
<script src="src/vector.js" type="application/javascript"></script>
<script src="src/CircleSegment.js" type="application/javascript"></script>
<script src="src/Behaviors.js" type="application/javascript"></script>
<script src="src/baseRenderable.js" type="application/javascript"></script>
<script src="src/boid.js" type="application/javascript"></script>
<script src="src/food.js" type="application/javascript"></script>
<script src="src/fish.js" type="application/javascript"></script>
<script src="src/sea.js" type="application/javascript"></script>
<script src="src/Sim.js" type="application/javascript"></script>
<style>
body {
width: 100%;
height: 100%;
margin: 0px;
font-family: 'Open Sans', sans-serif;
background-color: gray;
}
canvas {
-webkit-filter: drop-shadow(16px 16px 10px black);
width: 800px;
height: 800px;
}
</style>
</head>
<body>
<canvas id="canvas"></canvas>
</body>
</html>