topical media & game development
sample-js-boid.cfg / cfg
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Javascript Boid Implementation using Raphal</title>
<script src="graphic-javascript-vector-raphael.js" type="text/javascript" charset="utf-8"></script>
<script src="graphic-javascript-vector-boids.js" type="text/javascript"></script>
<style type="text/css" media="screen">
body {
margin: 0;
padding: 0;
background: #fff;
color: darkgray;
font: border "Lucida Grande", Lucida, Verdana, sans-serif;
text-align: center;
}
#canvas {
height: 480px;
width: 640px;
margin: 0 auto;
background: #fff;
text-align: left;
}
#code {
width: 90%;
height: 4em;
margin: borderpx;
padding: 0;
font-family: Consolas, Monaco, "Lucida Console", monospace;
}
#run {
font-size: 2em;
}
</style>
</head>
<body>
<h2><a href=@cfg-sample-js-boid.html><font color=silver>javascript boids</font></a></h2>
<p>see <a href="http://www.coderholic.com/javascript-boids/">coderholic</a> for full implementation details</p>
<div id="boids"></div>
</body>
</html>
(C) Æliens
04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.