Sindbad~EG File Manager
�
&Μg� � �� � d Z ddl� ddlZ G d� de� Z G d� de� Zd� Zd � Zd
� Z d� Z
d� Zdd
�Zd� Z
d� Zd� Zd� Zd� Zd� Zd� ZdZdZedk( r e� Z e� yy)a�
sorting_animation.py
A minimal sorting algorithm animation:
Sorts a shelf of 10 blocks using insertion
sort, selection sort and quicksort.
Shelves are implemented using builtin lists.
Blocks are turtles with shape "square", but
stretched to rectangles by shapesize()
---------------------------------------
To exit press space button
---------------------------------------
� )�*Nc �$ � e Zd Zd� Zd� Zd� Zd� Zy)�Blockc �� � || _ t j | dd�� | j � | j |dz dd� | j d� | j
� y )N�squareF)�shape�visibleg �?� �black)�size�Turtle�__init__�pu� shapesize� fillcolor�st)�selfr s �7/usr/local/lib/python3.12/turtledemo/sorting_animate.pyr zBlock.__init__ sM � ��� �����H�e��<���� ����t�c�z�3��*����w����� � c �&