python (3.12.0)

(root)/
lib/
python3.12/
turtledemo/
__pycache__/
round_dance.cpython-312.pyc

̑eRdZddldZdZedk(reeeyy)aF      turtle-example-suite:

         tdemo_round_dance.py

(Needs version 1.1 of the turtle module that
comes with Python 3.1)

Dancing turtles have a compound shape
consisting of a series of triangles of
decreasing size.

Turtles march along a circle while rotating
pairwise in opposite direction, with one
exception. Does that breaking of symmetry
enhance the attractiveness of the example?

Press any key to stop the animation.

Technically: demonstrates use of compound
shapes, transformation of shapes as well as
cloning turtles. The animation is
controlled through update().
)*cday)NF)runningJ/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/turtledemo/round_dance.pystopr	sGrcttdtdtdd}d}d}d}t	d}td	D]F}t
|t}||z}||z}t||j||d
d|z
fdHtd|t
dtdttd
dg}tdD]O}tdtdtdt|dzd
k(s7|j!t#Qt%dat)t*t-d}t&rvd}	|D]>}
|
jd|
jd|
j|	|	d
kDrdnd}	@|dkrt/dt
||dz}tt&rvy)Ngray10Ftriangleg}Rc?gy!"@compound
g?blackmultitriri8TgGz?zDONE!)clearscreenbgcolortracershapeShaperange	shapesize
get_shapepolytiltaddcomponentregister_shapepusetposfdltupdateappendclonehomer
onkeypressr	listenright)fphiscshipdancerscstadancers           rmainr:sMH
5M	*
A
C	A	A	z	B
2Y4!?	Q	QcT

AtQqS>73
4:r"
aL	*D
1dOG
3Z$
1R
1r6Q;NN57#
$	FGt
H	
B

	%FIIaLIIaLKKOAv1B		%
8!HbM%KBr__main__N)__doc__turtler	r:__name__printmainlooprrr<module>rAs703jZ	$&MJr