Psyduck - 可達鴨 之 鴨力山大2


Server : LiteSpeed
System : Linux premium217.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : alloknri ( 880)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /lib64/python3.8/turtledemo/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib64/python3.8/turtledemo/__pycache__/lindenmayer.cpython-38.pyc
U

e5d�	�@sDdZddlTdd�Zdd�Zdd�Zed	kr@e�Zee�e�d
S)a�       turtle-example-suite:

        xtx_lindenmayer_indian.py

Each morning women in Tamil Nadu, in southern
India, place designs, created by using rice
flour and known as kolam on the thresholds of
their homes.

These can be described by Lindenmayer systems,
which can easily be implemented with turtle
graphics and Python.

Two examples are shown here:
(1) the snake kolam
(2) anklets of Krishna

Taken from Marcia Ascher: Mathematics
Elsewhere, An Exploration of Ideas Across
Cultures

�)�*cCs4t|�D]&}d}|D]}||�||�}q|}q|S)N�)�range�get)�seqZreplacementRules�n�iZnewseqZelement�r	�./usr/lib64/python3.8/turtledemo/lindenmayer.py�replacesrc
CsR|D]H}z||�Wqtk
rJzt|||�WnYnXYqXqdS)N)�	TypeError�draw)ZcommandsZrules�br	r	r
r
&sr
cCsdd�}dd�}dd�}|||dd�}d	d
i}d}t||d�}t�td�td
d�t�t�td�t�t||�ddl	m
}|d�dd�}dd�}	dd�}
||	|
d�}ddd�}d}
t�td�tdd�t�td�t|
|d�}t||�td
�dS)NcSstd�dS�N�-)�rightr	r	r	r
�r7szmain.<locals>.rcSstd�dSr)�leftr	r	r	r
�l:szmain.<locals>.lcSstd�dS)Ng@)�forwardr	r	r	r
�f=szmain.<locals>.fzf+f+f--f--f+f+f)�-�+rrrzb+f+b--f--b+f+bz
b--f--b--f��r��)�sleepcSstd�tdd�dS)NZred�
�Z)�color�circler	r	r	r
�AVszmain.<locals>.AcSs>ddlm}td�d|d�}t|�t|d�t|�dS)Nr)�sqrtZblack��i)Zmathr"rrr )r"rr	r	r
�BZs
zmain.<locals>.BcSstd�td�dS)NZgreenr)rrr	r	r	r
�Fbszmain.<locals>.F)�arrZafbfaZ	afbfbfbfa)r'rZfbfbfbfbrzDone!)r�resetZspeedZtracerZhtZupZbackwardZdownr
�timerr)rrrZsnake_rulesZsnake_replacementRulesZsnake_startZdrawingrr!r%r&Z
krishna_rulesZkrishna_replacementRulesZ
krishna_startr	r	r
�main1s@




r*�__main__N)	�__doc__Zturtlerr
r*�__name__�msg�printZmainloopr	r	r	r
�<module>sC
Name
Size
Permissions
Options
__init__.cpython-38.opt-1.pyc
0.445 KB
-rw-r--r--
__init__.cpython-38.opt-2.pyc
0.131 KB
-rw-r--r--
__init__.cpython-38.pyc
0.445 KB
-rw-r--r--
__main__.cpython-38.opt-1.pyc
12.838 KB
-rw-r--r--
__main__.cpython-38.opt-2.pyc
9.679 KB
-rw-r--r--
__main__.cpython-38.pyc
12.838 KB
-rw-r--r--
bytedesign.cpython-38.opt-1.pyc
4.175 KB
-rw-r--r--
bytedesign.cpython-38.opt-2.pyc
3.699 KB
-rw-r--r--
bytedesign.cpython-38.pyc
4.175 KB
-rw-r--r--
chaos.cpython-38.opt-1.pyc
1.674 KB
-rw-r--r--
chaos.cpython-38.opt-2.pyc
1.674 KB
-rw-r--r--
chaos.cpython-38.pyc
1.674 KB
-rw-r--r--
clock.cpython-38.opt-1.pyc
3.411 KB
-rw-r--r--
clock.cpython-38.opt-2.pyc
3.182 KB
-rw-r--r--
clock.cpython-38.pyc
3.411 KB
-rw-r--r--
colormixer.cpython-38.opt-1.pyc
1.777 KB
-rw-r--r--
colormixer.cpython-38.opt-2.pyc
1.777 KB
-rw-r--r--
colormixer.cpython-38.pyc
1.777 KB
-rw-r--r--
forest.cpython-38.opt-1.pyc
3.247 KB
-rw-r--r--
forest.cpython-38.opt-2.pyc
2.927 KB
-rw-r--r--
forest.cpython-38.pyc
3.247 KB
-rw-r--r--
fractalcurves.cpython-38.opt-1.pyc
2.821 KB
-rw-r--r--
fractalcurves.cpython-38.opt-2.pyc
2.515 KB
-rw-r--r--
fractalcurves.cpython-38.pyc
2.821 KB
-rw-r--r--
lindenmayer.cpython-38.opt-1.pyc
2.748 KB
-rw-r--r--
lindenmayer.cpython-38.opt-2.pyc
2.249 KB
-rw-r--r--
lindenmayer.cpython-38.pyc
2.748 KB
-rw-r--r--
minimal_hanoi.cpython-38.opt-1.pyc
2.761 KB
-rw-r--r--
minimal_hanoi.cpython-38.opt-2.pyc
2.167 KB
-rw-r--r--
minimal_hanoi.cpython-38.pyc
2.761 KB
-rw-r--r--
nim.cpython-38.opt-1.pyc
7.169 KB
-rw-r--r--
nim.cpython-38.opt-2.pyc
6.966 KB
-rw-r--r--
nim.cpython-38.pyc
7.169 KB
-rw-r--r--
paint.cpython-38.opt-1.pyc
1.595 KB
-rw-r--r--
paint.cpython-38.opt-2.pyc
0.966 KB
-rw-r--r--
paint.cpython-38.pyc
1.595 KB
-rw-r--r--
peace.cpython-38.opt-1.pyc
1.094 KB
-rw-r--r--
peace.cpython-38.opt-2.pyc
0.873 KB
-rw-r--r--
peace.cpython-38.pyc
1.094 KB
-rw-r--r--
penrose.cpython-38.opt-1.pyc
4.563 KB
-rw-r--r--
penrose.cpython-38.opt-2.pyc
4.154 KB
-rw-r--r--
penrose.cpython-38.pyc
4.563 KB
-rw-r--r--
planet_and_moon.cpython-38.opt-1.pyc
3.404 KB
-rw-r--r--
planet_and_moon.cpython-38.opt-2.pyc
2.963 KB
-rw-r--r--
planet_and_moon.cpython-38.pyc
3.404 KB
-rw-r--r--
rosette.cpython-38.opt-1.pyc
1.664 KB
-rw-r--r--
rosette.cpython-38.opt-2.pyc
1.326 KB
-rw-r--r--
rosette.cpython-38.pyc
1.664 KB
-rw-r--r--
round_dance.cpython-38.opt-1.pyc
1.86 KB
-rw-r--r--
round_dance.cpython-38.opt-2.pyc
1.272 KB
-rw-r--r--
round_dance.cpython-38.pyc
1.86 KB
-rw-r--r--
sorting_animate.cpython-38.opt-1.pyc
6.221 KB
-rw-r--r--
sorting_animate.cpython-38.opt-2.pyc
5.768 KB
-rw-r--r--
sorting_animate.cpython-38.pyc
6.221 KB
-rw-r--r--
tree.cpython-38.opt-1.pyc
1.687 KB
-rw-r--r--
tree.cpython-38.opt-2.pyc
1.107 KB
-rw-r--r--
tree.cpython-38.pyc
1.687 KB
-rw-r--r--
two_canvases.cpython-38.opt-1.pyc
1.236 KB
-rw-r--r--
two_canvases.cpython-38.opt-2.pyc
1.031 KB
-rw-r--r--
two_canvases.cpython-38.pyc
1.236 KB
-rw-r--r--
yinyang.cpython-38.opt-1.pyc
1.044 KB
-rw-r--r--
yinyang.cpython-38.opt-2.pyc
0.856 KB
-rw-r--r--
yinyang.cpython-38.pyc
1.044 KB
-rw-r--r--