Closed GoogleCodeExporter closed 8 years ago
Checked in as revision 207. Originally, I made a new GUI which had an
"Advanced" tab which allowed selection of the old plotting algorithm. However,
testing shows that the new algorithm is almost as good as the old one. So, I
left the GUI as it was before with no ability to select which algorithm is
used: users unconditionally get the new algorithm. I did, however, preserve
the old code and it can be selected by setting self.hpp = True.
The new algorithm draws the maze column by column, moving down one column and
then up the next. This corresponds to plotting sections of the maze vertically
on the egg. The net effect is that only terribly gross slippage will affect
the local appearance of the plotted maze. When slippage is moderate, the maze
will locally and globally look quite good (cell walls well aligned). The
typical "problem" caused by slippage will be confined to the western and
eastern edges of the maze not meeting exactly.
I also changed the page height from 1000 to 800 pixels. And, in the solution
layer, the starting cell is drawn, then the solution, and then the ending cell.
Previously, the starting and ending cells were first drawn before the solution
path. That caused the pen to go to the start, the end, and then back to the
start for the path and ending, at the path's end, at the ending cell. Thus
drawing the ending cell last takes less wall-clock time.
Original comment by newman.d...@gmail.com
on 27 Apr 2011 at 8:08
Original issue reported on code.google.com by
newman.d...@gmail.com
on 27 Apr 2011 at 7:47