403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.51
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python313/Lib/turtledemo/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python313/Lib/turtledemo/__pycache__/bytedesign.cpython-313.opt-1.pyc
�

��i9��z�SrSSKJrJr SSKJr "SS\5rSr\	S:Xa\"5r
\"\
5 \"5 gg)	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�J�\rSrSrSrSrSrSrSrSr	Sr
S	rS
rSr
g)
�Designer�c�r�UR5 [S5H|nURSU-5 UR5 UR	UR5U5 UR5 UR
SU-5 URS5 M~ UR5 URU5 URS5 URSU-5 URS5 UR5 URSU-SU5 UR5RS	5 g)
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    �*C:\Python313\\Lib\turtledemo\bytedesign.py�design�Designer.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�J�URS5 [S5HnURX5 M UR5 UR	S5 [S5HnURX5 M UR	S5 [S5H\nUR5 URS5 UR
SU-5 UR5 URSU-5 M^ UR	S5 UR5R5 g)N�6�rr
r�)rr�	pentpiecer�left�tripiecerrrr�update)r�initposrrs    rr�Designer.wheel2s����
�
�2���q��A��N�N�7�*���	�	���	�	�"�
��q��A��M�M�'�)���	�	�"�
��q��A��I�I�K��J�J�r�N��L�L��e��$��G�G�I��M�M�"�u�*�%��	
�	�	�"�
�������!r"c�.�UR5nUR5 URSU-5 URSU-U5 UR	5 URU5 UR
U5 UR5 URSU-5 URSU-U5 UR	5 URU5 UR
U5 URS5 UR5R5 g)Ng@g�?@r)�headingrr�tripolyrrr�
setheading�tripolylr(rr*)rr+r�oldhs    rr)�Designer.tripieceDs����|�|�~���	�	���
�
�c�E�k�"��
�
�d�U�l�E�*����	��	�	�'��������	�	���
�
�c�E�k�"��
�
�d�U�l�E�*����	��	�	�'��������	�	�"�
�������!r"c�.�UR5nUR5 URSU-5 UR5 [	S5H(nURSU-5 URS5 M* UR
SU-SU5 UR5 URU5 URU5 URSU-5 UR5 [	S5H(nURSU-5 URS5 M* URSU-SU5 UR5 URU5 URU5 URS5 UR5R5 g)N�r
�r�K)
r.rrrrr�pentrrr0�pentlr(rr*)rr+rr2rs     rr'�Designer.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��USU-:agURU5 URU5 URUSU--
X#5 g�N�gR���Q�?)rr(r9�r�side�angrs    rr9�Designer.pentlms>���1�u�9��v����T���	�	�#���
�
�4�3��;�'��4r"c��USU-:agURU5 URU5 URUSU--
X#5 gr<)rrr8r>s    rr8�Designer.pentrss>���1�u�9��v����T���
�
�3���
�
�4�3��;�'��4r"c��USU-:agURU5 URS5 URUS-5 URS5 URUS-5 URS5 URUS-U5 g�Nr%�og{�G�z�?g�������?�g�?)rrr/�rr?rs   rr/�Designer.tripolyryso���1�u�9��v����T���
�
�3�����T�D�[�!��
�
�3�����T�C�Z� ��
�
�3���
�
�d�S�j�%�(r"c��USU-:agURU5 URS5 URUS-5 URS5 URUS-5 URS5 URUS-U5 grE)rr(r1rHs   rr1�Designer.tripolyl�so���1�u�9��v����T���	�	�#�����T�D�[�!��	�	�#�����T�C�Z� ��	�	�#���
�
�d�S�j�%�(r"c��URU5 URU5 USU-:agURUSU--
X#5 g)Ng@g333333�?)rr(r)r�s�ars    rr�Designer.centerpiece�s?�����Q�����1����e��������c�E�k�*�A�5r"�N)�__name__�
__module__�__qualname__�__firstlineno__r rr)r'r9r8r/r1r�__static_attributes__rPr"rrrs/��&�$"�$"�""�05�5�)�)�6r"rc�J�[5nURS5 UR5 UR5R	S5 UR5RS5 [
5nURUR5S5 [
5nSX!-
-$)Nrr=zruntime: %.2f sec.)	r�speed�
hideturtler�delayr�clockr r)�t�at�ets   r�mainr^�st���
�A��G�G�A�J��L�L�N��K�K�M������K�K�M�����	��B��H�H�Q�Z�Z�\�1��	��B��2�5�)�)r"�__main__N)�__doc__�turtlerr�timerrZrr^rQ�msg�printrPr"r�<module>resH���.$�&�s6�v�s6�j	*��z��
�&�C�	�#�J��J�r"

Youez - 2016 - github.com/yon3zu
LinuXploit