There is the python script which can visualize some famous sorting algorithms and generate the animations via Pygame.
-
Install Python 3.
-
Run pip install pygame and pip install numpy in CMD.
- Run in CMD using this line -"python Sorting_Visualizer.py" (OR you can run it in some IDE/Python editor).
Selection Sort
Bubble Sort
Merge Sort
Quick Sort