https://github.com/mjkloeckner/sav
Sorting Algorithms Visualized
https://github.com/mjkloeckner/sav
algorithm c sdl2 sdl2-ttf sorting-algorithms sorting-visualization
Last synced: 2 months ago
JSON representation
Sorting Algorithms Visualized
- Host: GitHub
- URL: https://github.com/mjkloeckner/sav
- Owner: mjkloeckner
- License: mit
- Created: 2022-03-24T23:51:32.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-22T22:22:16.000Z (almost 3 years ago)
- Last Synced: 2023-04-29T08:09:18.146Z (over 2 years ago)
- Topics: algorithm, c, sdl2, sdl2-ttf, sorting-algorithms, sorting-visualization
- Language: C
- Homepage:
- Size: 167 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SAV - Sorting Algorithms Visualized
The idea is to develop a visual program that shows how an array is being sorted
Written in C using SDL2 library for graphics

## Dependencies
- [SDL2](https://www.libsdl.org/)
- [SDL2-ttf](https://github.com/libsdl-org/SDL_ttf/releases)
## Building and running
```console
$ make -j $(nproc)
$ ./sav
```
## Keybindings
- `space` - start/stop the sorting.
- `tab` - change sorting algorithm.
- `S` - change array shuffle method (random, in order, reversed).
- `R` - restart.
## Font
The font used is [Victor Mono Regular](https://rubjo.github.io/victor-mono/)
## License
[MIT](./LICENSE)