<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -80,9 +80,9 @@ module CelticKnot
           # such intersections will be taken care of when the over/under
           # intersections are subtracted later in the process.
           def cull_overlap_for_list(list)
-            offset = list.length/4
+            offset = list.length/10
             i = offset
-            while i &lt; list.length-2
+            while i &lt; list.length-offset-1
               line1 = Curves::LineSegment.new(list[i], list[i+1])
 
               j = i+1</diff>
      <filename>lib/celtic_knot/knot_shape.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7bb27773579cf14b4146645f33a2f384149b7ac1</id>
    </parent>
  </parents>
  <author>
    <name>Jamis Buck</name>
    <email>jamis@37signals.com</email>
  </author>
  <url>http://github.com/jamis/celtic_knot/commit/2c80716a81f6923cd3118bd4a564aa577f1111d4</url>
  <id>2c80716a81f6923cd3118bd4a564aa577f1111d4</id>
  <committed-date>2009-06-15T07:31:20-07:00</committed-date>
  <authored-date>2009-06-15T07:31:20-07:00</authored-date>
  <message>check for intersections closer to the ends of the segments</message>
  <tree>3b69551156c52d01c5bf51eabec8b0176a7935c4</tree>
  <committer>
    <name>Jamis Buck</name>
    <email>jamis@37signals.com</email>
  </committer>
</commit>
