Sindbad~EG File Manager

Current Path : /usr/local/lib/python3.12/turtledemo/__pycache__/
Upload File :
Current File : //usr/local/lib/python3.12/turtledemo/__pycache__/rosette.cpython-312.opt-1.pyc

�

&ΜgQ��p�dZddlmZmZmZddlmZmZd�Z	d�Z
edk(re
�Ze
e�e�yy)aF      turtle-example-suite:

          tdemo_wikipedia3.py

This example is
inspired by the Wikipedia article on turtle
graphics. (See example wikipedia1 for URLs)

First we create (ne-1) (i.e. 35 in this
example) copies of our first turtle p.
Then we let them perform their steps in
parallel.

Followed by a complete undo().
�)�Screen�Turtle�mainloop)�perf_counter�sleepc�l�|g}td|�D]9}|j�}|jd|z�|j|�|}�;t|�D][}t	|dz|z
�|dzz}|D]=}|jd|z�|jd|z
d|�|j
|��?�]y)N�g�v@g@gffffff�?r)�range�clone�rt�append�abs�pencolor�fd)�p�ne�sz�
turtlelist�i�q�c�ts        �//usr/local/lib/python3.12/turtledemo/rosette.py�mn_eckrs�����J�
�1�R�[��
�G�G�I��	���U�2�X�����!��
��	�
�2�Y����3��q��M�2�b�5�!���A�
�D�D��b��M�
�J�J�q��s�1�Q��
�D�D��H��	�c�b�t�}|jd�t�}|jd�|j	�|jd�|j
d�|jdd�t�}t|dd�t�}||z
}td�t�}td�|j�D��rF|j�D]}|j��td�|j�D��r�Ft�}d	||z|z
zS)
N�blackr�red��$�r	c3�<K�|]}|j����y�w)N)�undobufferentries)�.0rs  r�	<genexpr>zmain.<locals>.<genexpr>7s����
9�[��a�!�!�#�[�s�zruntime: %.3f sec)r�bgcolorr�speed�
hideturtler�pensize�tracer�clockrr�any�turtles�undo)�sr�at�et�z1rs      r�mainr3$s�����A��I�I�g���h�A��G�G�A�J��L�L�N��J�J�u���I�I�a�L��H�H�R��N�	��B�
�1�b�"��	��B�	�B��B�	�!�H�	��B�

�
9�Q�Y�Y�[�
9�
9�����A�
�F�F�H���
9�Q�Y�Y�[�
9�
9�
��B��"�R�%��(�+�+r�__main__N)�__doc__�turtlerrr�timerr+rrr3�__name__�msg�print�rr�<module>r<sA���,�+�-��",�4�z��
�&�C�	�#�J��J�r

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists