Ë \Å´Ä6©Òãón—dZddlmZmZddlmZd„Zd„Zd„Z e dk(re «Z e e «e«yy) a— turtle-example-suite: tdemo_tree.py Displays a 'breadth-first-tree' - in contrast to the classical Logo tree drawing programs, which use a depth-first-algorithm. Uses: (1) a tree-generator, where the drawing is quasi the side-effect, whereas the generator always yields None. (2) Turtle-cloning: At each branching point the current pen is cloned. So in the end there are 1024 turtles. é)ÚTurtleÚmainloop)Ú perf_counterc#ó(K—|dkDr‰g}|D]g}|j|«|j«}|j|«|j|«|j |«|j |«Œit |||z||«D]}d–—Œyy­w)z¤ plist is list of pens l is length of branch a is half of the angle between 2 branches f is factor by which branch is shortened from level to level.éN)ÚforwardÚcloneÚleftÚrightÚappendÚtree)ÚplistÚlÚaÚfÚlstÚpÚqÚxs ú&/usr/lib/python3.12/turtledemo/tree.pyr r s…èø€ð  ˆ1‚u؈ۈAØ �I‰I�aŒLØ—‘“ ˆAØ �F‰F�1ŒIØ �G‰G�AŒJØ �J‰J�qŒMØ �J‰J�q�Mð ô�c˜1˜Q™3  1Ö%ˆAØ‹Jñ&ð ùs‚BBcól—t«}|jd«|j«|jd«|j «j dd«|j d«|j«|jd«|j«t|gddd«}|D]}Œy)NrééZi.ÿÿÿéÈéAgffffffä?) rÚ setundobufferÚ hideturtleÚspeedÚ getscreenÚtracerr ÚpenuprÚpendownr )rÚtrs rÚmaketreer$'s†€Ü‹€A؇O�O�DÔØ‡L�L„N؇G�GˆA„J؇K�KƒM×ј˜AÔØ‡F�Fˆ2„J؇G�G„I؇I�Iˆd„O؇I�I„KÜ ˆaˆS�#�r˜6Ó"€AÛ ˆØ ñócóN—t«}t«t«}d||z zS)Nzdone: %.2f sec.)Úclockr$)rÚbs rÚmainr)5s$€Ü ƒg€AÜ „JÜ ƒg€AØ   !¡Ñ $Ð$r%Ú__main__N) Ú__doc__ÚturtlerrÚtimerr'r r$r)Ú__name__ÚmsgÚprint©r%rÚr2sCðñ÷ $Ý&òò$  ò%ð  ˆzÒÙ ‹&€CÙ ˆ#„JÙ …Jðr%