
    e;                         d dl mZmZmZ  G d de          Zd Zd Zedk    r! e            Z e	e            e             dS dS )    )ScreenTurtlemainloopc                       e Zd Zd Zd ZdS )ColorTurtlec                    t          j        |            |                     d           |                     d           |                     ddd           |                     d           g d| _        || _        || j        |<   |                     | j                   | 	                    d           | 
                    d           |                                  |                     |d           |                                  |                     d	           |                                  |                     |           |                     d
           |                     | j                   d S )Nturtleuser      
   )r   r   r   r   Z      gray25)r   __init__shape
resizemode	shapesizepensize_colorxcolorspeedleftpugotopdsetypencolorondragshiftselfr   ys      '  /home/conda/feedstock_root/build_artifacts/python-split_1708115622739/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.11/turtledemo/colormixer.pyr   zColorTurtle.__init__   s/   

8q1RggA

4;

1		"					!A					!					!hDJ    c           	          |                      t          dt          |d                               |                                 | j        | j        <   |                     | j                   t                       d S )Nr   r   )r   maxminycorr   r   	fillcolor
setbgcolorr"   s      r%   r!   zColorTurtle.shift   s[    		#aAa//""""iikkDFt{###r&   N)__name__
__module____qualname__r   r!    r&   r%   r   r      s2             *    r&   r   c                      t                               t                                          t                                          t
                                                     d S )N)screenbgcolorredr*   greenbluer0   r&   r%   r,   r,   "   s6    
NN388::uzz||TYY[[99999r&   c                     t                      at                              d           t                              dddd           t	          dd          at	          dd          at	          dd          at                       t                      } | 
                                 |                                  |                     dd	           |                     d
dd           dS )Nr   g333333ӿr   g?g      ?r      gffffff?zDRAG!center)Arial   )bolditalic)alignfont	EVENTLOOP)r   r2   delaysetworldcoordinatesr   r4   r5   r6   r,   r   htr   r   write)writers    r%   mainrG   %   s    XXF
LLOOO
r4C000
a

C2Eq"DLLLXXF
IIKKK
IIKKK
KK$
LLx-KLLLL;r&   __main__N)
r	   r   r   r   r   r,   rG   r-   msgprintr0   r&   r%   <module>rK      s    , + + + + + + + + +    &   :: : :  $ z
$&&C	E#JJJHJJJJJ r&   