AlkantarClanX12

Your IP : 52.14.166.224


Current Path : /lib64/python3.8/turtledemo/__pycache__/
Upload File :
Current File : //lib64/python3.8/turtledemo/__pycache__/chaos.cpython-38.opt-1.pyc

U

e5d��@sdddlTdZdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Zdd�Zdd�Z	e
dkr`e	�e�dS)�)�*�PcCsd|d|S)N�333333@����xrr�(/usr/lib64/python3.8/turtledemo/chaos.py�fsr
cCsd||dS)Nr�rrrrr	�gsrcCsd|d||S)Nrrrrrr	�hsr
cCst�t||�dS�N)Zpenup�goto)r�yrrr	�jumptosrcCst||�t�t||�dSr)r�pendownr)Zx1Zy1Zx2Zy2rrr	�lines
rcCs$tddtdd�tdddd�dS)N���rr皙������皙�����?)r�Nrrrr	�coosyssrcCsTt|�|}td|�t�td�tt�D]"}||�}t|d|�td�q,dS)Nr�r)Zpencolorrr�dot�rangerr)Zfun�startZcolorr�irrr	�plot s
rcCsxt�tddtdd�td�t�t�ttdd�ttdd�tt	dd	�t
d
�D]}td|dtdd�qXdS)
Ng�rrrrgffffff�?ZblueZgreenZred�dg�?zDone!)�resetZsetworldcoordinatesrZspeedZ
hideturtlerrr
rr
r)�srrr	�main+sr"�__main__N)Zturtlerr
rr
rrrrr"�__name__Zmainlooprrrr	�<module>s