Sorting 1000+ Number Using 6 Sorting Algorithms (in 3 minutes!) - Visualization with Python

preview_player
Показать описание
Visualization of sorting algorithms in work on sorting numbers. Here I use 6 different algorithms: Binary Sort, Bubble Sort, Cocktail Sort, Comb Sort, Cycle Sort, and Stooge Sort.

I create this simple visualization using Python, with the help of matplotlib and FFmpeg. So here is my process:

2) Convert the bar chart PNG sequences to become video using FFmpeg.

Do you know other methods to do this in a more efficient way? Please tell me in the comment!
Рекомендации по теме
welcome to shbcf.ru