powered by
This function resets the Turtle's position, direction, and graphical options.
turtle_reset()
The Turtle must be initialized prior to using this function, see turtle_init.
turtle_init
After a call to this function, the Turtle will be placed in the terrarium's center and it will be directed to the north.
The drawing remains unchanged.
Other TurtleGraphics: TurtleGraphics-package, turtle_do, turtle_getpos, turtle_goto, turtle_init, turtle_move, turtle_param, turtle_show, turtle_status, turtle_turn, turtle_up
TurtleGraphics-package
turtle_do
turtle_getpos
turtle_goto
turtle_move
turtle_param
turtle_show
turtle_status
turtle_turn
turtle_up
# NOT RUN { turtle_init() turtle_forward(4) turtle_param(col="red", lty=2, lwd=3) turtle_reset() turtle_left(45) turtle_forward(3) # }
Run the code above in your browser using DataLab