§
    •Õ*j  ã                   óh   — d Z ddlT d„ Zd„ Zedk    r e e¦   «         ¦  «          e¦   «          dS dS )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                  ó
   — da d S )NF)Úrunning© ó    á(  /home/task_178118881339430/croot/python-split_1781190639776/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/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
  fd¦  «         ŒWt          d|¦  «         t          d¦  «         t          d¦  «         t          ¦   «          t          dd¦  «         g }t          d¦  «        D ]g}t          d¦  «         t          d¦  «         t          d¦  «         t          ¦   «          |dz  dk    r!|                     t#          ¦   «         ¦  «         Œht%          ¦   «          dat)          t*          ¦  «         t-          ¦   «          d}t&          rŽd}	|D ]K}
|
                     d¦  «         |
                     d¦  «         |
                     |	¦  «         |	dk    rdnd}	ŒL|dk     r#t/          d¦  «         t          |¦  «         |dz  }t          ¦   «          t&          °ŽdS )NÚgray10FÚtriangleg}—R—Œcé?g˜Š�y!"@é   é   Úcompoundé
   g      Ð?ÚblackÚmultitrir   i8ÿÿÿé´   é   éüÿÿÿé   é   Té   g®Gázð?zDONE!)ÚclearscreenÚbgcolorÚtracerÚshapeÚShapeÚrangeÚ	shapesizeÚget_shapepolyÚtiltÚaddcomponentÚregister_shapeÚpuÚsetposÚfdÚltÚupdateÚappendÚcloneÚhomer   Ú
onkeypressr	   ÚlistenÚright)ÚfÚphiÚsÚcÚshÚiÚpÚdancersÚcsÚtaÚdancers              r   Úmainr:      s-  € å�M„M€MÝˆHÑÔÐÝ
ˆ5�M„M€MÝ	ˆ*ÑÔÐØ
€AØ
€CØ	€AØ	€Aå	ˆzÑ	Ô	€BÝ�2‰YŒYð 4ð 4ˆÝ�!‰ŒˆÝ‰?Œ?ˆØ	ˆQ‰ˆØ	ˆQ‰ˆÝˆcˆT‰
Œ
ˆ
Ø
�Š˜˜A˜t Q q¡S˜>¨7Ñ3Ô3Ð3Ð3Ý�:˜rÑ"Ô"Ð"åˆa�L„L€LÝ	ˆ*ÑÔÐÝ�D„D€DÝ
ˆ1ˆd�O„O€OØ€GÝ�3‰ZŒZð $ð $ˆÝ
ˆ1‰ŒˆÝˆR‰ŒˆÝ
ˆ1‰ŒˆÝ‰ŒˆØˆr‰6�QŠ;ˆ;Ø�NŠN�5™7œ7Ñ#Ô#Ð#øÝ�F„F€Fà€GÝ�tÑÔÐÝ
�H„H€HØ	
€BÝ
ð ØˆØð 	%ð 	%ˆFØ�IŠI�a‰LŒLˆLØ�IŠI�a‰LŒLˆLØ�KŠK˜‰OŒOˆOØ˜A’v�v�� 1ˆBˆBØ�Š8ˆ8Ý�!‰HŒHˆHÝ�b‰MŒMˆMØ�%‰KˆBÝ‰Œˆõ ð ð ˆ7r   Ú__main__N)Ú__doc__Úturtler	   r:   Ú__name__ÚprintÚmainloopr   r   r   ú<module>rA      ss   ððð ð0 Ð Ð Ð ðð ð ð3ð 3ð 3ðj ˆZÒÐØ	€Eˆ$ˆ$‰&Œ&�M„M€MØ€H�J„J€J€J€Jð Ðr   