- Supports negative numbers
Redbar indicates there is swapping taking placeOrangebar indicates smaller pointerGoldbar indicates larger pointer- For Quick Sort,
Bluebar indicates the Pivot
- Insertion Sort
- Bubble Sort
- Quick Sort
- Python 3.9 or above
- pygame
git clone <repository_url>.git
pip install -r requirements.txt
python3 ./main.py- Use
WASDorarrowkeys to move around - Use
Q,Eormouse scrollto zoom in/out (Not perfect) - Press
Enterto start the sorting - Increase
delay_secondsin the code to reduce the sorting speed. (Recommended value = 0.2 seconds) - Set
delay_secondsto 0, if you want to pan/zoom around the screen.
NOTE: Avoid changing the FPS. Changing it might result in unexpected behavior.
- How to deal when the array size is so large that it can't fit in the screen
- Reduce the array such that it autofits to the screen
- Autofit to the screen while zooming in/out


