$68 GRAYBYTE WORDPRESS FILE MANAGER $82

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.162.162 | ADMIN IP 216.73.216.174
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/lib64/python3.8/turtledemo/__pycache__/

HOME
Current File : /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(





Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
21 Mar 2024 10.19 AM
root / root
0755
__init__.cpython-38.opt-1.pyc
0.445 KB
17 Oct 2023 6.13 PM
root / root
0644
__init__.cpython-38.opt-2.pyc
0.131 KB
17 Oct 2023 6.13 PM
root / root
0644
__init__.cpython-38.pyc
0.445 KB
17 Oct 2023 6.13 PM
root / root
0644
__main__.cpython-38.opt-1.pyc
12.838 KB
17 Oct 2023 6.13 PM
root / root
0644
__main__.cpython-38.opt-2.pyc
9.679 KB
17 Oct 2023 6.13 PM
root / root
0644
__main__.cpython-38.pyc
12.838 KB
17 Oct 2023 6.13 PM
root / root
0644
bytedesign.cpython-38.opt-1.pyc
4.175 KB
17 Oct 2023 6.13 PM
root / root
0644
bytedesign.cpython-38.opt-2.pyc
3.699 KB
17 Oct 2023 6.13 PM
root / root
0644
bytedesign.cpython-38.pyc
4.175 KB
17 Oct 2023 6.13 PM
root / root
0644
chaos.cpython-38.opt-1.pyc
1.674 KB
17 Oct 2023 6.13 PM
root / root
0644
chaos.cpython-38.opt-2.pyc
1.674 KB
17 Oct 2023 6.13 PM
root / root
0644
chaos.cpython-38.pyc
1.674 KB
17 Oct 2023 6.13 PM
root / root
0644
clock.cpython-38.opt-1.pyc
3.411 KB
17 Oct 2023 6.13 PM
root / root
0644
clock.cpython-38.opt-2.pyc
3.182 KB
17 Oct 2023 6.13 PM
root / root
0644
clock.cpython-38.pyc
3.411 KB
17 Oct 2023 6.13 PM
root / root
0644
colormixer.cpython-38.opt-1.pyc
1.777 KB
17 Oct 2023 6.13 PM
root / root
0644
colormixer.cpython-38.opt-2.pyc
1.777 KB
17 Oct 2023 6.13 PM
root / root
0644
colormixer.cpython-38.pyc
1.777 KB
17 Oct 2023 6.13 PM
root / root
0644
forest.cpython-38.opt-1.pyc
3.247 KB
17 Oct 2023 6.13 PM
root / root
0644
forest.cpython-38.opt-2.pyc
2.927 KB
17 Oct 2023 6.13 PM
root / root
0644
forest.cpython-38.pyc
3.247 KB
17 Oct 2023 6.13 PM
root / root
0644
fractalcurves.cpython-38.opt-1.pyc
2.821 KB
17 Oct 2023 6.13 PM
root / root
0644
fractalcurves.cpython-38.opt-2.pyc
2.515 KB
17 Oct 2023 6.13 PM
root / root
0644
fractalcurves.cpython-38.pyc
2.821 KB
17 Oct 2023 6.13 PM
root / root
0644
lindenmayer.cpython-38.opt-1.pyc
2.748 KB
17 Oct 2023 6.13 PM
root / root
0644
lindenmayer.cpython-38.opt-2.pyc
2.249 KB
17 Oct 2023 6.13 PM
root / root
0644
lindenmayer.cpython-38.pyc
2.748 KB
17 Oct 2023 6.13 PM
root / root
0644
minimal_hanoi.cpython-38.opt-1.pyc
2.761 KB
17 Oct 2023 6.13 PM
root / root
0644
minimal_hanoi.cpython-38.opt-2.pyc
2.167 KB
17 Oct 2023 6.13 PM
root / root
0644
minimal_hanoi.cpython-38.pyc
2.761 KB
17 Oct 2023 6.13 PM
root / root
0644
nim.cpython-38.opt-1.pyc
7.169 KB
17 Oct 2023 6.13 PM
root / root
0644
nim.cpython-38.opt-2.pyc
6.966 KB
17 Oct 2023 6.13 PM
root / root
0644
nim.cpython-38.pyc
7.169 KB
17 Oct 2023 6.13 PM
root / root
0644
paint.cpython-38.opt-1.pyc
1.595 KB
17 Oct 2023 6.13 PM
root / root
0644
paint.cpython-38.opt-2.pyc
0.966 KB
17 Oct 2023 6.13 PM
root / root
0644
paint.cpython-38.pyc
1.595 KB
17 Oct 2023 6.13 PM
root / root
0644
peace.cpython-38.opt-1.pyc
1.094 KB
17 Oct 2023 6.13 PM
root / root
0644
peace.cpython-38.opt-2.pyc
0.873 KB
17 Oct 2023 6.13 PM
root / root
0644
peace.cpython-38.pyc
1.094 KB
17 Oct 2023 6.13 PM
root / root
0644
penrose.cpython-38.opt-1.pyc
4.563 KB
17 Oct 2023 6.13 PM
root / root
0644
penrose.cpython-38.opt-2.pyc
4.154 KB
17 Oct 2023 6.13 PM
root / root
0644
penrose.cpython-38.pyc
4.563 KB
17 Oct 2023 6.13 PM
root / root
0644
planet_and_moon.cpython-38.opt-1.pyc
3.404 KB
17 Oct 2023 6.13 PM
root / root
0644
planet_and_moon.cpython-38.opt-2.pyc
2.963 KB
17 Oct 2023 6.13 PM
root / root
0644
planet_and_moon.cpython-38.pyc
3.404 KB
17 Oct 2023 6.13 PM
root / root
0644
rosette.cpython-38.opt-1.pyc
1.664 KB
17 Oct 2023 6.13 PM
root / root
0644
rosette.cpython-38.opt-2.pyc
1.326 KB
17 Oct 2023 6.13 PM
root / root
0644
rosette.cpython-38.pyc
1.664 KB
17 Oct 2023 6.13 PM
root / root
0644
round_dance.cpython-38.opt-1.pyc
1.86 KB
17 Oct 2023 6.13 PM
root / root
0644
round_dance.cpython-38.opt-2.pyc
1.272 KB
17 Oct 2023 6.13 PM
root / root
0644
round_dance.cpython-38.pyc
1.86 KB
17 Oct 2023 6.13 PM
root / root
0644
sorting_animate.cpython-38.opt-1.pyc
6.221 KB
17 Oct 2023 6.13 PM
root / root
0644
sorting_animate.cpython-38.opt-2.pyc
5.768 KB
17 Oct 2023 6.13 PM
root / root
0644
sorting_animate.cpython-38.pyc
6.221 KB
17 Oct 2023 6.13 PM
root / root
0644
tree.cpython-38.opt-1.pyc
1.687 KB
17 Oct 2023 6.13 PM
root / root
0644
tree.cpython-38.opt-2.pyc
1.107 KB
17 Oct 2023 6.13 PM
root / root
0644
tree.cpython-38.pyc
1.687 KB
17 Oct 2023 6.13 PM
root / root
0644
two_canvases.cpython-38.opt-1.pyc
1.236 KB
17 Oct 2023 6.13 PM
root / root
0644
two_canvases.cpython-38.opt-2.pyc
1.031 KB
17 Oct 2023 6.13 PM
root / root
0644
two_canvases.cpython-38.pyc
1.236 KB
17 Oct 2023 6.13 PM
root / root
0644
yinyang.cpython-38.opt-1.pyc
1.044 KB
17 Oct 2023 6.13 PM
root / root
0644
yinyang.cpython-38.opt-2.pyc
0.856 KB
17 Oct 2023 6.13 PM
root / root
0644
yinyang.cpython-38.pyc
1.044 KB
17 Oct 2023 6.13 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF