Turtle interface.
Defines the interface that any turtle must implement. Note that the standard directions/rotations use Logo semantics: initial heading of zero is 'up', and positive angles rotate the turtle clockwise.
Change the turtle's current pen color.
new pen color
Move the turtle forward a number of steps.
number of steps to move in the current direction; must be positive
Get the image created by this turtle.
string containing image in SVG format
Change the turtle's heading by a number of degrees clockwise.
amount of change in angle, in degrees, with positive being clockwise
Generated using TypeDoc
Turtle interface.
Defines the interface that any turtle must implement. Note that the standard directions/rotations use Logo semantics: initial heading of zero is 'up', and positive angles rotate the turtle clockwise.