- Visualization of common sorting algorithms:
- Bubble Sort
- Insertion Sort
- Selection Sort
- Quick Sort
- Adjustable speed, array size, and algortihm selection
- Real-time bars and animations
- Simple and responsive ImGui interface
- Cross-platform (Windows, Linux, macOS)
- Language: C++20
- Libraries:
- Build system: CMake
Make sure you have:
- CMake
$\geq$ 4.0.2 - C++20 - compatible compiler
- Git
All libraries are fetched automatically via cmakeFetchContent
git clone https://github.com/MateuszKwiat/sorting-algorithms-visualization.git
cd sorting-algorithms-visualization/
cmake -B build -S .
cmake --build build./build/bin/sorting_algorithms_visualizationLinux Users: Before building, make sure the following packages are installed:
sudo apt update
sudo apt install build-essential cmake libx11-dev libxrandr-dev libxcursor-dev libxi-dev libudev-dev libgl1-mesa-dev libfreetype6-dev libopenal-dev libvorbis-dev libflac-devgit clone https://github.com/MateuszKwiat/sorting-algorithms-visualization.git
cd sorting-algorithms-visualization
cmake -B build -S . -G "Visual Studio 17 2022" -A x64
cmake --build build --config Releasebuild\bin\Release\sorting_algorithms_visualization.exeThis project is licensed under the MIT License.
