Random Walker Take Two

Contents

Beginning

Another take on getting p5.js to behave using the random walker.

Middle

First, make a div to contain the javascript.

<script language="javascript" type="text/javascript" src='random-walker-vectorized.js'></script>
<div id="random-walker-vectorized">
</div>

System Message: ERROR/3 (<string>, line 29)

Unknown directive type "listings".

.. listings:: random-walker-vectorized.js
   :code: javascript

End

The big thing that fixed the positioning of the canvas was that I was putting the line to include the javascript inside the div where it was supposed to render. Keeping the div for the canvas empty fixed it.