Various sorting algorithms visualized.
Currently included algorithms:
- Bubble Sort
- Quick Sort (LR ptr)
- Insertion Sort
- Merge sort (top-down)
Note: all these bindings have a GUI button equivalent.
- p, space - pause/play
- r - restart
- left, right - cycle algorithms
- up, down - change number of elements
- period, comma - change delay
- SDL2
- SDL2_ttf
- SDL2_gfx
- CMake
Build:
mkdir build && cd build && cmake .. && makeRun:
./sdlsortThis program is free software released under the MIT license. For the full text of the license, see the 'LICENSE' file.
Liberation-Sans font included in the /res directory is licensed under the OFL v1.1 license.
