Simple Programs in Turtle Geometry

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

This Demonstration explores simple programs in turtle geometry, where an unseen turtle moves and traces a path according to provided instructions. If only one move-turn pair is used, the size of the forward step will have no affect on the image.


As an example, to draw a pentagon of side length 10, use one move-turn pair with 5 repetitions and set "turn 1" to right 72. As your instructions become more complicated, the turtle's paths will become more intricate.


Contributed by: Joshua Goldstein (May 2011)
Open content licensed under CC BY-NC-SA




[1] H. Abelson and A. diSessa, Turtle Geometry: The Computer as a Medium for Exploring Mathematics, Cambridge, MA: MIT Press, 1980.

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.