. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AnonSec Shell
AnonSec Shell
Server IP : 184.94.213.167  /  Your IP : 216.73.216.174   [ Reverse IP ]
Web Server : LiteSpeed
System : Linux premium282.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User : whatdo54321 ( 1549)
PHP Version : 8.4.14
Disable Function : NONE
Domains : 1 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /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 : /lib64/python3.8/turtledemo/__pycache__/penrose.cpython-38.opt-1.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