sav

Sorting Algorithms Visualized
Index Commits Files Refs README LICENSE
README.md (743B)
   1 # SAV - Sorting Algorithms Visualized
   2 
   3 The idea is to develop a visual program that shows how an array is being sorted
   4 
   5 Written in C using SDL2 library for graphics
   6 
   7 ![sav](https://user-images.githubusercontent.com/64109770/182065206-e766b30e-6f7d-4232-b1d2-de840974892d.gif)
   8 
   9 ## Dependencies
  10 - [SDL2](https://www.libsdl.org/)
  11 - [SDL2-ttf](https://github.com/libsdl-org/SDL_ttf/releases)
  12 
  13 ## Building and running
  14 ```console
  15 $ make -j $(nproc)
  16 $ ./sav
  17 ```
  18 
  19 ## Keybindings
  20 
  21 - `space` - start/stop the sorting.
  22 - `tab` - change sorting algorithm.
  23 - `S` - change array shuffle method (random, in order, reversed).
  24 - `R` - restart.
  25 
  26 ## Font
  27 
  28 The font used is [Victor Mono Regular](https://rubjo.github.io/victor-mono/)
  29 
  30 ## License
  31 [MIT](./LICENSE)