�
�f � �h � d Z ddlT d� Zd� Zedk r e e� � � � e� � dS dS )aF turtle-example-suite:
tdemo_round_dance.py
(Needs version 1.1 of the turtle module that
comes with Python 3.1)
Dancing turtles have a compound shape
consisting of a series of triangles of
decreasing size.
Turtles march along a circle while rotating
pairwise in opposite direction, with one
exception. Does that breaking of symmetry
enhance the attractiveness of the example?
Press any key to stop the animation.
Technically: demonstrates use of compound
shapes, transformation of shapes as well as
cloning turtles. The animation is
controlled through update().
� )�*c �
� da d S )NF)�running� � �//usr/lib64/python3.11/turtledemo/round_dance.py�stopr s � ��G�G�Gr c � � t � � t d� � t d� � t d� � d} d}d}d}t d� � }t d � � D ]V}t
|� � t � � }|| z }|| z }t | � � |� ||d
d|z
fd� � �Wt d|� � t
d� � t d� � t � � t d
d� � g }t d� � D ]g}t d� � t d� � t d� � t � � |dz d
k r!|� t# � � � � �ht% � � dat) t* � � t- � � d}t&