@@ -2274,10 +2274,13 @@ study it as an example and see its effects when running the demos (preferably
22742274not from within the demo-viewer).
22752275
22762276
2277- Demo scripts
2278- ============
2277+ :mod: `turtledemo ` --- Demo scripts
2278+ ==================================
2279+
2280+ .. module :: turtledemo
2281+ :synopsis: A viewer for example turtle scripts
22792282
2280- There is a set of demo scripts in the :mod: ` turtledemo ` package . These
2283+ The :mod: ` turtledemo ` package includes a set of demo scripts. These
22812284scripts can be run and viewed using the supplied demo viewer as follows::
22822285
22832286 python -m turtledemo
@@ -2288,16 +2291,13 @@ Alternatively, you can run the demo scripts individually. For example, ::
22882291
22892292The :mod: `turtledemo ` package directory contains:
22902293
2291- - a set of 15 demo scripts demonstrating different features of the new module
2292- :mod: `turtle `;
2293- - a demo viewer :file: `__main__.py ` which can be used to view the sourcecode
2294- of the scripts and run them at the same time. 14 of the examples can be
2295- accessed via the Examples menu; all of them can also be run standalone.
2296- - The example :mod: `turtledemo.two_canvases ` demonstrates the simultaneous
2297- use of two canvases with the turtle module. Therefore it only can be run
2298- standalone.
2299- - There is a :file: `turtle.cfg ` file in this directory, which serves as an
2300- example for how to write and use such files.
2294+ - A demo viewer :file: `__main__.py ` which can be used to view the sourcecode
2295+ of the scripts and run them at the same time.
2296+ - Multiple scripts demonstrating different features of the :mod: `turtle `
2297+ module. Examples can be accessed via the Examples menu. They can also
2298+ be run standalone.
2299+ - A :file: `turtle.cfg ` file which serves as an example of how to write
2300+ and use such files.
23012301
23022302The demo scripts are:
23032303
@@ -2320,6 +2320,8 @@ The demo scripts are:
23202320+----------------+------------------------------+-----------------------+
23212321| colormixer | experiment with r, g, b | :func: `ondrag ` |
23222322+----------------+------------------------------+-----------------------+
2323+ | forest | 3 breadth-first trees | randomization |
2324+ +----------------+------------------------------+-----------------------+
23232325| fractalcurves | Hilbert & Koch curves | recursion |
23242326+----------------+------------------------------+-----------------------+
23252327| lindenmayer | ethnomathematics | L-System |
@@ -2352,6 +2354,9 @@ The demo scripts are:
23522354| tree | a (graphical) breadth | :func: `clone ` |
23532355| | first tree (using generators)| |
23542356+----------------+------------------------------+-----------------------+
2357+ | two_canvases | simple design | turtles on two |
2358+ | | | canvases |
2359+ +----------------+------------------------------+-----------------------+
23552360| wikipedia | a pattern from the wikipedia | :func: `clone `, |
23562361| | article on turtle graphics | :func: `undo ` |
23572362+----------------+------------------------------+-----------------------+
0 commit comments