Relative Turtle Motion
HC
Graphics
Relative Turtle Motion
Relative Turtle Motion
This section describes the basic set of commands to move the turtle relative to its position, including commands to change the turtle`s course.
When the pen is set to down (with PenDown), then the turtle will draw a straight line along its path.
Relative movements are the strength of turtle graphics, especially when you repeat complete figures and iteratively call them, so you can for example create beautiful fractal drawings with ease.
Relative Turtle Motion