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 demonstrates a turtle‐graphics-based construction of a square‐filling curve. A robot turtle can be given instructions to walk forward, or to turn left or right. The path taken by a programmed turtle, called turtle-graphics, can lead to many interesting pictures. Here, a turtle is given instructions that wind up visiting more and more of a square.

Contributed by: Michael Trott (March 2011)
Open content licensed under CC BY-NC-SA




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.