-
Notifications
You must be signed in to change notification settings - Fork 0
/
boids.html
30 lines (27 loc) · 1.49 KB
/
boids.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
<html>
<head>
<title>Boids</title>
<link href="css/boids.css" type="text/css" rel="stylesheet">
<script src="js/modernizr.js"></script>
<script src="js/boids.js"></script>
</head>
<body style="background-color: #333;">
<h1 class=center-block>Basic Artificial Inteligence with Javascript Objects!</h1>
<div id="wrapper">
<div class="left-block">
<canvas id="canvas" width="800" height="829" /> </div>
<div id="sideContent">
<p>In this game, you play as a colony of tadpoles in a tidepool. There also happen to be other creatures swimming about, and by using your <strong>mouse cursor</strong> you can try to avoid them. </p>
<p>You can also sit back and watch the simulation take place too. The basic flocking inteligence does a pretty cool job on it's own!</p>
<p>While in reality flocks do no have a leader, I thought adding some interaction with the simulation would make it more engaging.</p>
<p>In reality <strong>All</strong> flocks, with any form of complex "inteligence," rely on the compund use of simple rules. Every agent in a Complex Adaptive System folows a set of rules that create the intrcate patterns we see in the wild. In the same way, A foundation of simple rules brings the AI of this game come to life.</p> <img src="img/anemoni.jpg" width="100%" /> </div>
</div>
<div id="fontFix">
<p class="font-Josefin-Sans">Josefin-Sans</p>
<p class="font-shadows">Shadows Into Light</p>
</div>
<a class="btn-lg" href="/index.html">
<div>Go back Now!!!</div>
</a>
</body>
</html>