o
    ǋ|c_                     @   s>   d Z ddlmZmZmZ dd Zedkre  e  dS dS )zturtledemo.two_canvases

Use TurtleScreen and RawTurtle to draw on two
distinct canvases in a separate window. The
new window must be separately closed in
addition to pressing the STOP button.
    )TurtleScreen	RawTurtleTKc            	      C   sL  t  } t j| dddd}t j| dddd}|  |  t|}|ddd t|}|ddd t|}t|}|dd	 |d
 |dd |d
 ||fD ]}|	d |
d qV|
d ||fD ]}|  qltdD ]}||fD ]}|d |
d q}qw||fD ]}|  |
d |  |d qdS )Ni,     z#ddffff)widthZheightbgz#ffeeee333333?   Zred)r	   r   r      Zblue)r   r   r	   turtle$         2   H   6   Z	EVENTLOOP)r   ZTkZCanvaspackr   Zbgcolorr   Zcolorr   shapeltZ
begin_fillrangefdZend_fillZpuZbk)	rootZcv1Zcv2s1s2pqti r   )  /home/conda/feedstock_root/build_artifacts/python-split_1669104742391/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.10/turtledemo/two_canvases.pymain   s@   






r    __main__N)__doc__r   r   r   r   r    __name__Zmainloopr   r   r   r   <module>   s    )