title: How to create turtles at intervals along links
body: <p>I have a network of links which I would like to create turtles along at equidistant intervals - much like houses along a road network. </p>
  
  <p>I have played with two implementations:</p>
  
  <p>1 - Create a special builder turtle that traverses the network of links before the main simulation is run and hatches turtles as it does i.e. </p>
  
  <pre><code>ask builders 
  [
      navigate 1 ;my network navigation function
      if count homes in-radius 2 = 0  
      [
          hatch-homes 1 
      ]
  ]
  </code></pre>
  
  <p>2 - Alternatively, I can step through the list of links and using the position of the ends, the link-length and link-heading variables do some trig to work out where to place the home turtles.
  EDIT: I have now implemented the trig version - it is not perfect but it does the job.</p>
  
  <p>Option 1 is easy to implement but somewhat stymied by the the in-radius variable - as on some networks links may run parallel (our close to) and very close to one another. If this is the case  then the second link traversed may not get any turtles (as they are within radius of the first link's turtles - if you see what i mean). Option 2 involves trig. </p>
  
  <p>Can anyone think of a smarter/simpler way of doing this?</p>
  
  <p>Many thanks for looking - all advice greatly appreciated.</p>