An open API service indexing awesome lists of open source software.

https://github.com/mportesi/sorting_algo_visualizer

Python script to generate a visualization of various sorting algorithms, image or video.
https://github.com/mportesi/sorting_algo_visualizer

algo python sorting-algorithms visualization

Last synced: about 2 months ago
JSON representation

Python script to generate a visualization of various sorting algorithms, image or video.

Awesome Lists containing this project

README

        

# sorting_algo_visualizer
Python script to generate a visualization of various sorting algorithms, image or video.

![Everyone](https://github.com/mportesi/sorting_algo_visualizer/blob/main/sample-heap-5viridis.gif)

## Usage

Run it from the command line:

```bash
$ python sorting_algo_visualizer.py
```
Various arguments can be specified:

```bash
-sorter bubble # the sorting algorithm to use
-out video #video or image
-order random #order of the initial string for the image output
-c viridis #matplotlib cmap to use
```

## To-do
- Finish readme
- Implement other algo