WINDOW

Synopsis
WINDOW
Description

Tells the turtle to enter "window" mode. From now on, when the turtle is asked to move past the boundary of the graphics window, it moves off screen. The visible graphics window is considered as just part of an infinite graphics plane; the turtle can be anywhere on the plane. If you lose the turtle, HOME moves it back to the center of the window.

Compare this command with WRAP, FENCE, and PERSPECTIVE.

Example
WRAP
FORWARD 950
RIGHT 90
WINDOW
FORWARD 950
FORWARD 100

SourceForge.net Logo