Turtle-Graphics

Requires a Wolfram Notebook System

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

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

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


Snapshots


Details

detailSectionParagraph


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.
Send