Closed byorgey closed 11 years ago
Changes to the public API:
runTurtle
runTurtleT
TurtleState
drawTurtle
sketchTurtle
Path R2
Internally I just added a few new functions for doing stuff with paths instead of diagrams, and did a bit of refactoring.
What do you think -- are these good changes to make to the API? Can you think of a more sensible/compact way to organize things? etc.?
Looks good to me!
Changes to the public API:
runTurtle
function (andrunTurtleT
) now simply returns a rawTurtleState
valuedrawTurtle
does whatrunTurtle
used to do, i.e. return a DiagramsketchTurtle
throws away all the pen style information and simply returns aPath R2
.Internally I just added a few new functions for doing stuff with paths instead of diagrams, and did a bit of refactoring.
What do you think -- are these good changes to make to the API? Can you think of a more sensible/compact way to organize things? etc.?