WOLFRAM NOTEBOOK

WOLFRAM|DEMONSTRATIONS PROJECT

Simple Programs in Turtle Geometry

move-turn pairs
1
2
3
4
repetitions
37
move 1
forward
back
7.7
turn 1
right
left
140.86
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.
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.