https://github.com/invzhi/sorting-visualization
:art: A command-line tool to generate GIF which can display sorting algorithm
https://github.com/invzhi/sorting-visualization
algorithm gif golang sort visualization
Last synced: 5 days ago
JSON representation
:art: A command-line tool to generate GIF which can display sorting algorithm
- Host: GitHub
- URL: https://github.com/invzhi/sorting-visualization
- Owner: invzhi
- License: mit
- Created: 2017-10-11T13:37:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-22T02:26:43.000Z (about 8 years ago)
- Last Synced: 2025-11-22T16:00:02.875Z (2 months ago)
- Topics: algorithm, gif, golang, sort, visualization
- Language: Go
- Homepage:
- Size: 310 MB
- Stars: 42
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sorting-visualization
[](https://godoc.org/github.com/invzhi/sorting-visualization)
[](https://goreportcard.com/report/github.com/invzhi/sorting-visualization)
[](LICENSE)
Inspired by [FishyMcFishFace](https://imgur.com/t/rainbow/RM3wl) on [Hacker News](https://news.ycombinator.com/item?id=15423202).
More:
- [Sorting Algorithms Visualized](https://imgur.com/a/voutF)
- [Sorting Algorithms Revisualized](https://imgur.com/gallery/GD5gi)
- [How I Visualized Sorting Algorithms and Brought Them to Life with Sound
](https://medium.freecodecamp.org/how-i-visualized-the-sorting-algorithms-and-brought-them-to-life-with-sound-ce7c5c6cb6ef)
## Usage
```
Usage of ./sorting-visualization:
-delay int
successive delay times, one per frame, in 100ths of a second (default 10)
-filename string
GIF's filename (default: sorting name)
-height int
GIF's height (default 256)
-sorting string
selection, insertion, shell, merge, quick, bubble, radix, all
-weight int
GIF's weight (default 256)
```
## GIFs
### Selection Sort

### Bubble Sort

### Insertion Sort

### Shell Sort

### Merge Sort

### Quick Sort

### Heap Sort

### Radix Sort
