TurtleGraphics (version 1.0-8)

turtle_show: Show or Hide the Turtle

Description

These functions enable or disable displaying the Turtle's image on the screen.

Usage

turtle_show()

turtle_hide()

Arguments

Details

The Turtle must be initialized prior to using this function, see turtle_init.

It is recommended to hide the Turtle when performing multiple Turtle moves, for efficiency reasons, see also turtle_do.

See Also

Other TurtleGraphics: TurtleGraphics-package, turtle_do, turtle_getpos, turtle_goto, turtle_init, turtle_move, turtle_param, turtle_reset, turtle_status, turtle_turn, turtle_up

Examples

Run this code
# NOT RUN {
turtle_init()
turtle_forward(4)
turtle_hide()
turtle_left(30)
turtle_forward(3)

# }

Run the code above in your browser using DataLab