__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

aptanhua@216.73.216.189: ~ $
�

�֦i���x�dZddlmZmZddlmZGd�de�Zd�Ze	dk(re�Z
ee
�e�yy)	a�      turtle-example-suite:

        tdemo_bytedesign.py

An example adapted from the example-suite
of PythonCard's turtle graphics.

It's based on an article in BYTE magazine
Problem Solving with Logo: Using Turtle
Graphics to Redraw a Design
November 1982, p. 118 - 134

-------------------------------------------

Due to the statement

t.delay(0)

in line 152, which sets the animation delay
to 0, this animation runs in "line per line"
mode as fast as possible.
�)�Turtle�mainloop)�perf_counterc�B�eZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zy
)�Designerc�n�|j�td�D]{}|jd|z�|j�|j	|j�|�|j�|j
d|z�|jd��}|j�|j|�|jd�|jd|z�|jd�|j�|jd|zd|�|j�jd	�y)
N�g�����)P@�H�$g�8@���.g������a@T)�up�range�forward�down�wheel�position�backward�right�goto�centerpiece�	getscreen�tracer)�self�homePos�scale�is    �./usr/lib64/python3.12/turtledemo/bytedesign.py�designzDesigner.design s������	��q��A��L�L����'��I�I�K��J�J�t�}�}���.��G�G�I��M�M�%�%�-�(��J�J�r�N�
�	
���	��	�	�'���
�
�2�����T�E�\�"��
�
�3���	�	������e��U�E�2��������%�c�B�|jd�td�D]}|j||��|j�|j	d�td�D]}|j||��|j	d�td�D][}|j�|jd�|j
d|z�|j�|jd|z��]|j	d�|j�j�y)N�6�rr	r
�)rr�	pentpiecer�left�tripiecerrrr�update)r�initposrrs    rrzDesigner.wheel2s����
�
�2���q��A��N�N�7�E�*���	�	���	�	�"�
��q��A��M�M�'�5�)���	�	�"�
��q��A��I�I�K��J�J�r�N��L�L��e��$��G�G�I��M�M�"�u�*�%��	
�	�	�"�
�������!r c�.�|j�}|j�|jd|z�|jd|z|�|j	�|j|�|j
|�|j�|jd|z�|jd|z|�|j	�|j|�|j
|�|jd�|j�j�y)Ng@g�?@r
)�headingrr�tripolyrrr�
setheading�tripolylr&rr()rr)r�oldhs    rr'zDesigner.tripieceDs����|�|�~���	�	���
�
�c�E�k�"��
�
�d�U�l�E�*����	��	�	�'��������	�	���
�
�c�E�k�"��
�
�d�U�l�E�*����	��	�	�'��������	�	�"�
�������!r c�&�|j�}|j�|jd|z�|j�t	d�D]'}|jd|z�|jd��)|j
d|zd|�|j�|j|�|j|�|jd|z�|j�t	d�D]'}|jd|z�|jd��)|jd|zd|�|j�|j|�|j|�|jd�|j�j�y)N�r	�r
�K)
r+rrrrr�pentrrr-�pentlr&rr()rr)rr/rs     rr%zDesigner.pentpieceUs&���|�|�~�����	����R�%�Z� ��	�	���q��A��L�L��e��$��J�J�r�N��	
�
�
�2��:�r�5�)����	��	�	�'����������R�%�Z� ��	�	���q��A��L�L��e��$��J�J�r�N��	
�
�
�2��:�r�5�)����	��	�	�'��������	�	�"�
�������!r c��|d|zkry|j|�|j|�|j|d|zz
||�y�N�gR���Q�?)rr&r5�r�side�angrs    rr5zDesigner.pentlms@���1�u�9��v����T���	�	�#���
�
�4�3��;�'��e�4r c��|d|zkry|j|�|j|�|j|d|zz
||�yr7)rrr4r9s    rr4zDesigner.pentrss@���1�u�9��v����T���
�
�3���
�
�4�3��;�'��e�4r c��|d|zkry|j|�|jd�|j|dz�|jd�|j|dz�|jd�|j|dz|�y�Nr#�og{�G�z�?g�������?�g�?)rrr,�rr:rs   rr,zDesigner.tripolyryso���1�u�9��v����T���
�
�3�����T�D�[�!��
�
�3�����T�C�Z� ��
�
�3���
�
�d�S�j�%�(r c��|d|zkry|j|�|jd�|j|dz�|jd�|j|dz�|jd�|j|dz|�yr>)rr&r.rAs   rr.zDesigner.tripolyl�so���1�u�9��v����T���	�	�#�����T�D�[�!��	�	�#�����T�C�Z� ��	�	�#���
�
�d�S�j�%�(r c��|j|�|j|�|d|zkry|j|d|zz
||�y)Ng@g333333�?)rr&r)r�s�ars    rrzDesigner.centerpiece�sA�����Q�����1����e��������c�E�k�*�A�u�5r N)�__name__�
__module__�__qualname__rrr'r%r5r4r,r.r�r rrrs/��&�$"�$"�""�05�5�)�)�6r rc�L�t�}|jd�|j�|j�j	d�|j�jd�t
�}|j|j�d�t
�}d||z
zS)Nrr8zruntime: %.2f sec.)	r�speed�
hideturtler�delayr�clockrr)�t�at�ets   r�mainrR�sv���
�A��G�G�A�J��L�L�N��K�K�M������K�K�M�����	��B��H�H�Q�Z�Z�\�1��	��B��2�b�5�)�)r �__main__N)�__doc__�turtlerr�timerrNrrRrF�msg�printrIr r�<module>rYsH���.$�&�s6�v�s6�j	*��z��
�&�C�	�#�J��J�r 

Filemanager

Name Type Size Permission Actions
__init__.cpython-312.opt-1.pyc File 468 B 0644
__init__.cpython-312.opt-2.pyc File 146 B 0644
__init__.cpython-312.pyc File 468 B 0644
__main__.cpython-312.opt-1.pyc File 20.97 KB 0644
__main__.cpython-312.opt-2.pyc File 17.82 KB 0644
__main__.cpython-312.pyc File 20.97 KB 0644
bytedesign.cpython-312.opt-1.pyc File 8.01 KB 0644
bytedesign.cpython-312.opt-2.pyc File 7.54 KB 0644
bytedesign.cpython-312.pyc File 8.01 KB 0644
chaos.cpython-312.opt-1.pyc File 2.42 KB 0644
chaos.cpython-312.opt-2.pyc File 2.42 KB 0644
chaos.cpython-312.pyc File 2.42 KB 0644
clock.cpython-312.opt-1.pyc File 6.17 KB 0644
clock.cpython-312.opt-2.pyc File 5.94 KB 0644
clock.cpython-312.pyc File 6.17 KB 0644
colormixer.cpython-312.opt-1.pyc File 3.24 KB 0644
colormixer.cpython-312.opt-2.pyc File 3.24 KB 0644
colormixer.cpython-312.pyc File 3.24 KB 0644
forest.cpython-312.opt-1.pyc File 4.96 KB 0644
forest.cpython-312.opt-2.pyc File 4.65 KB 0644
forest.cpython-312.pyc File 4.96 KB 0644
fractalcurves.cpython-312.opt-1.pyc File 5.64 KB 0644
fractalcurves.cpython-312.opt-2.pyc File 5.34 KB 0644
fractalcurves.cpython-312.pyc File 5.64 KB 0644
lindenmayer.cpython-312.opt-1.pyc File 3.68 KB 0644
lindenmayer.cpython-312.opt-2.pyc File 3.18 KB 0644
lindenmayer.cpython-312.pyc File 3.68 KB 0644
minimal_hanoi.cpython-312.opt-1.pyc File 3.88 KB 0644
minimal_hanoi.cpython-312.opt-2.pyc File 3.3 KB 0644
minimal_hanoi.cpython-312.pyc File 3.88 KB 0644
nim.cpython-312.opt-1.pyc File 13.17 KB 0644
nim.cpython-312.opt-2.pyc File 12.97 KB 0644
nim.cpython-312.pyc File 13.17 KB 0644
paint.cpython-312.opt-1.pyc File 2.02 KB 0644
paint.cpython-312.opt-2.pyc File 1.4 KB 0644
paint.cpython-312.pyc File 2.02 KB 0644
peace.cpython-312.opt-1.pyc File 1.77 KB 0644
peace.cpython-312.opt-2.pyc File 1.55 KB 0644
peace.cpython-312.pyc File 1.77 KB 0644
penrose.cpython-312.opt-1.pyc File 7.03 KB 0644
penrose.cpython-312.opt-2.pyc File 6.63 KB 0644
penrose.cpython-312.pyc File 7.03 KB 0644
planet_and_moon.cpython-312.opt-1.pyc File 6.14 KB 0644
planet_and_moon.cpython-312.opt-2.pyc File 5.71 KB 0644
planet_and_moon.cpython-312.pyc File 6.14 KB 0644
rosette.cpython-312.opt-1.pyc File 2.75 KB 0644
rosette.cpython-312.opt-2.pyc File 2.42 KB 0644
rosette.cpython-312.pyc File 2.75 KB 0644
round_dance.cpython-312.opt-1.pyc File 2.75 KB 0644
round_dance.cpython-312.opt-2.pyc File 2.17 KB 0644
round_dance.cpython-312.pyc File 2.75 KB 0644
sorting_animate.cpython-312.opt-1.pyc File 10 KB 0644
sorting_animate.cpython-312.opt-2.pyc File 9.55 KB 0644
sorting_animate.cpython-312.pyc File 10 KB 0644
tree.cpython-312.opt-1.pyc File 2.47 KB 0644
tree.cpython-312.opt-2.pyc File 1.91 KB 0644
tree.cpython-312.pyc File 2.47 KB 0644
two_canvases.cpython-312.opt-1.pyc File 2.23 KB 0644
two_canvases.cpython-312.opt-2.pyc File 2.03 KB 0644
two_canvases.cpython-312.pyc File 2.23 KB 0644
yinyang.cpython-312.opt-1.pyc File 1.62 KB 0644
yinyang.cpython-312.opt-2.pyc File 1.44 KB 0644
yinyang.cpython-312.pyc File 1.62 KB 0644