https://github.com/sjpau/sorts
Simple visualization of sorting algorithms in Go.
https://github.com/sjpau/sorts
algorithm algorithms algorithms-and-data-structures ebiten ebitengine go golang simple
Last synced: 18 days ago
JSON representation
Simple visualization of sorting algorithms in Go.
- Host: GitHub
- URL: https://github.com/sjpau/sorts
- Owner: sjpau
- License: unlicense
- Created: 2022-07-16T19:30:31.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-02T06:48:37.000Z (over 3 years ago)
- Last Synced: 2024-06-21T09:57:15.428Z (almost 2 years ago)
- Topics: algorithm, algorithms, algorithms-and-data-structures, ebiten, ebitengine, go, golang, simple
- Language: Go
- Homepage:
- Size: 5.14 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sorts
Simple visualization of sorting algorithms.

### It's not a benchmark
This program is created strictly for visual appeal.
It does not compare real-world complexities of implemented algorithms and does not provide benchmarking tools.
### Controls
Sorting algorithms are numbered as described below.
Press SPACE to randomize matrix.
### Sorting algorithms
1 - Selection sort
2 - Gnome sort
3 - Bubble sort
4 - Heap sort
5 - Cocktail shaker sort
6 - Comb sort
7 - Quick sort
8 - Shell sort
9 - The Greatest Sorting Algorithm Known to Humankind
### Installation
`go install github.com/sjpau/sorts@latest`
### Compile manually
`go get github.com/sjpau/sorts`
`go build .` in the code directory