[Home] [Console] [Guide] [Applications] [Index] [Back]

Flower by Turtle Graphics

Turtle graphics are a method for tracing out line segments. The "pencil point" (a.k.a. "turtle") has a designated position (as a cursor would), where lines are produced by instructing the pointer to either (i) move forward, or (ii) change direction. In this example, we instruct the turtle to move forward, turn left, move forward, turn left, and so on until he completes a circuit. Turn left an extra time, and trace out a similar curcuit. Repeat these instructions for several iterations to produce the shape below.

Test Window

Output Window