AnonSec Shell
Server IP : 162.213.251.212  /  Your IP : 18.217.47.171   [ Reverse IP ]
Web Server : LiteSpeed
System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : allssztx ( 535)
PHP Version : 8.1.31
Disable Function : NONE
Domains : 1 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/proc/self/root/usr/lib64/python3.8/turtledemo/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /proc/self/root/proc/self/root/usr/lib64/python3.8/turtledemo/__pycache__/penrose.cpython-38.pyc
U

e5d3
�@s�dZddlTddlmZmZddlmZmZdZ	deded�Z
d	d
�Zdd�Zd
d�Z
dd�Zd&dd�Zdd�Zdd�Zdd�Zdd�Zddeddfdd�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)�perf_counter�sleepgP�/7���?���
cCsTt|}td�t|�td�t|�td�t|�td�t|�td�dS)N�$�l���f�lt�fd�rt��l�fl�r�*/usr/lib64/python3.8/turtledemo/penrose.py�kitesrcCsTt|}td�t|�td�t|�td�t|�td�t|�td�dS)Nr
rr
rrrr�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)
NrrTr
�r���)�pos�int�heading�round�tiledictrr�inflatedartrr�inflatekite�d�r�nZpx�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)
NrrFrr
r�6�~r)rrrr r!rr#rrrr"r$r%rrrr"Gs"
"r"cCs�t�|t|}t|d|d|�tD]T}|\}}}t||�t|�t|rftd�tdd�ntd�tdd�t�q*dS)NgY@r�black)r��?rr)r.rr)	�clearrZ	shapesizer!Zsetpos�
setheading�shapeZcolorZstamp)rr&�th�kr(r)r*rrr�drawZs


r4cCs$td�D]}t||�td�qdS�N��H)�ranger#r�rr&�irrr�sunjs
r;cCs$td�D]}t||�td�qdSr5)r8r"rr9rrr�staros
r<cCsTtd�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
rB���)rrcCsxt|�td�iatd�|||�t|||�td�tdd�tD��}tdd�tD��}td||||f�dS)NrrcSsg|]}t|r|�qSr�r!��.0r)rrr�
<listcomp>�sztest.<locals>.<listcomp>cSsg|]}t|s|�qSrrErFrrrrH�sz"%d kites and %d darts = %d pieces.)�gotor0r!r>r4�len�print)rr&�fun�startposr2ZnkZndrrr�test�s
rNcCsLt�td�D]8}t�}td||�t�}||}|dkrtd|�qdS)N�i,r)rBr8�clockrNr)rLr:�a�b�trrr�demo�srTcCsjtd�tddd�tt�td�tt�td�tdd�tddd�td	d
dd�t	d
ddd�dS)NZlogog333333�?rrr-i8���gffffff�?rzPlease wait...�center)zArial Blackr
Zbold)ZalignZfontiXrO)�F�u)rMZDone)
�modeZbgcolorrTr;rr<ZpencolorrI�writerNrrrr�main�s
�rZ�__main__N)r)�__doc__ZturtleZmathrr�timerrPrrr$rrr#r"r4r;r<r?rBrNrTrZ�__name__�msgZmainlooprrrr�<module>s(




Anon7 - 2022
AnonSec Team