topical media & game development

talk show tell print

graphic-javascript-vector-boids.htm / htm

  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  <html xmlns="" xml:lang="en" lang="en">
      <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: #000;
              color: #fff;
              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;
      <h1>Javascript Boids</h1>
          <p>See <a href="">coderholic</a> for full implementation details</p>
      <div id="boids"></div>

(C) Æliens 20/2/2008

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.