Turtle-Graphics

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.

SNAPSHOTS

  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.