403Webshell
Server IP : 118.27.122.248  /  Your IP : 216.73.216.17
Web Server : Apache
System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
User : c9415830 ( 11735)
PHP Version : 8.4.17
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/python36/lib64/python3.6/turtledemo/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/python36/lib64/python3.6/turtledemo/__pycache__/penrose.cpython-36.pyc
3

x2_`
�@s�dZddlTddlmZmZddlmZmZd*Zd	ed
ed�Z	dd
�Z
dd�Zdd�Zdd�Z
d+dd�Zdd�Zdd�Zdd�Zdd�Zdded,d	fd d!�Zefd"d#�Zd$d%�Zed&kr�e�Ze�d'S)-a�       xturtle-example-suite:

          xtx_kites_and_darts.py

Constructs two aperiodic penrose-tilings,
consisting of kites and darts, by the method
of inflation in six steps.

Starting points are the patterns "sun"
consisting of five kites and "star"
consisting of five darts.

For more information see:
 http://en.wikipedia.org/wiki/Penrose_tiling
 -------------------------------------------
�)�*)�cos�pi)�clock�sleep�g�?�g@���
cCsTt|}td�t|�td�t|�td�t|�td�t|�td�dS)N�$�l�)�f�lt�fd�rt)�l�fl�r�7/opt/alt/python36/lib64/python3.6/turtledemo/penrose.py�kitesrcCsTt|}td�t|�td�t|�td�t|�td�t|�td�dS)Nrr)rrrr)rrrrr�dart%srcCs�|dkrFt�\}}tt��t|d�t|d�}}}dt|||f<dSt|}td�t||d�t|�t	d�t
||d�td�t|t�t	d�t
||d�td�t|�t	d	�t||d�td�dS)
Nrr
Trrr���)�pos�int�heading�round�tiledictrr�inflatedartrr�inflatekite�d)r�n�px�py�h�x�yrrrrr"1s(
"r"cCs�|dkrFt�\}}tt��t|d�t|d�}}}dt|||f<dSt|}t||d�td�t|�t	d�t
||d�td�t|t�t	d�t
||d�t|�t	d	�dS)
Nrr
Frrr�6�~r)rrrrr rr"rrrr!r#)rr$r%r&r'r(r)rrrrr!Gs"
"r!cCs�t�|t|}t|d|d|�x\tD]T}|\}}}t||�t|�t|rhtd�tdd�ntd�tdd�t�q,WdS)	NgY@r�blackr��?r)rr-r)r-rr)	�clearrZ	shapesizer Zsetpos�
setheading�shapeZcolorZstamp)rr$�th�kr'r(r)rrr�drawZs



r3cCs(x"td�D]}t||�td�q
WdS)Nr�H)�ranger"r)rr$�irrr�sunjs
r7cCs(x"td�D]}t||�td�q
WdS)Nrr4)r5r!r)rr$r6rrr�staros
r8cCsTtd�t�td�t�tdt��t�td�t�tdt��td�dS)Nr�drrr)�tracerZ
begin_polyrZend_polyZregister_shapeZget_polyrrrrr�
makeshapestsr;cCs$t�t�t�t�td�dS)N�user)�resetZhtZpur;Z
resizemoderrrr�start�s
r>���c
Cs�t|�td�iat�}td�|||�t�}t|||�td�t�}tdd�tD��}tdd�tD��}	td||	||	f�dS)NrrcSsg|]}t|r|�qSr)r )�.0r(rrr�
<listcomp>�sztest.<locals>.<listcomp>cSsg|]}t|s|�qSr)r )rAr(rrrrB�sz"%d kites and %d darts = %d pieces.)�gotor/r rr:r3�len�print)
rr$�fun�startposr1�a�b�cZnkZndrrr�test�s
rKcCsPt�xDtd�D]8}t�}td||�t�}||}|dkrtd|�qWdS)N�i,r	)r>r5rrKr)rFr6rHrI�trrr�demo�srNcCsjtd�tddd�tt�td�tt�td�tdd�tddd�td	d
dd�t	dddd�dS)NZlogog333333�?rr	r,r?gffffff�?rzPlease wait...�center�Arial Blackr�bold)ZalignZfontiXrL�F�u)rGZDonei8���)rPrrQ)rRrS)
�modeZbgcolorrNr7rr8ZpencolorrC�writerKrrrr�main�s

rV�__main__Ng��w�@gP�/7���?gP�/7���?)r	)rr)�__doc__ZturtleZmathrrZtimerrrr#rrr"r!r3r7r8r;r>rKrNrV�__name__�msgZmainlooprrrr�<module>s(



Youez - 2016 - github.com/yon3zu
LinuXploit