1 | Diagram 2.
|
---|
2 |
|
---|
3 | The stars are the original calculated path. Check at certain points to see if a straight line can intersect with a 2nd or third change of direction. *'s are the original path, x's are the better path.
|
---|
4 |
|
---|
5 | Notice Triangles and Squares
|
---|
6 |
|
---|
7 | Triangles 2nd change of direction
|
---|
8 |
|
---|
9 | ##############
|
---|
10 | # x**
|
---|
11 | # xx *#
|
---|
12 | # x *#
|
---|
13 | # xx *#
|
---|
14 | # x *#
|
---|
15 | # xx *#
|
---|
16 | # x *#
|
---|
17 | #************#
|
---|
18 | #*############
|
---|
19 |
|
---|
20 | Squares / 3rd change of direction
|
---|
21 |
|
---|
22 | #*############
|
---|
23 | #************#
|
---|
24 | #x *#
|
---|
25 | #x *#
|
---|
26 | #x *#
|
---|
27 | #x *#
|
---|
28 | #x *#
|
---|
29 | #x *#
|
---|
30 | #************#
|
---|
31 | #*############
|
---|