CLEARSCREEN

Synopsis
CLEARSCREEN
CS
Description

Fills the screen window with SCREENCOLOR and sends the turtle to its initial position and heading.

CLEARSCREEN also resets some state that is not directly related to the screen.

  • It removes all turtles created with SETTURTLE so that there is only one turtle.

  • It removes all completed and in-progress polygons which were defined with POLYSTART and POLYEND.

Example
FORWARD 100
CLEARSCREEN
See Also
HOME
SETSCREENCOLOR

SourceForge.net Logo