Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 41 lines (37 sloc) 1.492 kb
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
<html>
<head>
<script type="text/javascript" src="lib/jquery.js"></script>
<script type="text/javascript" src="lib/underscore.js"></script>
<script type="text/javascript" src="lib/rx.js"></script>
<script type="text/javascript" src="lib/rx.jQuery.js"></script>
<script type="text/javascript" src="lib/raphael.js"></script>
<script type="text/javascript" src="lib/vector.js"></script>
<script type="text/javascript" src="lib/prettify.js"></script>
  <script type="text/javascript" src="presentation.js"></script>
  <script type="text/javascript" src="4.js"></script>
  <script type="text/javascript" src="keystate.js"></script>
  <script type="text/javascript">
    $(function() {
        initPresentation(4);
        $("#show-vector-js").click(function() { showSrc("lib/vector.js")})
    })
  </script>
  <link href="devday-rx.css" rel="stylesheet" type="text/css"/>
  <link href="prettify.css" rel="stylesheet" type="text/css"/>
</head>
<body>
  <div id="content">
  <h1>Vector arithmetics</h1>
  <ul>
    <li>Replace strings with 2D vectors</li>
    <li>Use <code>Select</code> to get the <code>head</code> from the list of active directions</li>
    <li>Use Scan to create the position stream</li>
    <li>A <a href="#" id="show-vector-js">vector.js</a> library provides 2D vector calculations</li>
  </ul>
  </div>
  <div id="demo">
  <label>Player position:</label><span id="position"></span>
  </div>
  <div id="src"><pre class="prettyprint"/></div>
</body>
</html><html>



Something went wrong with that request. Please try again.