Skip to content

A sorting algorithm visualizer able to visualize Bubble sort, insertion sort, quick sort, selection sort. written using SFML and Dear ImGUI. Under MIT License.

License

Notifications You must be signed in to change notification settings

ayaankhan98/Sortilyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sortilyzer

Codacy Badge

Sortilyzer is a sorting algorithm visualizer, under MIT License. Sortilyzer codebase is written in C++17 using Visual Studio 2019. Using external dependencies as

  • GLFW
  • GLEW
  • SFML
  • ImGui-SFML
  • Dear-ImGui

Currently sortilyzer is able to visualizer only few standard comparision based sorting algorithms.

  • Bubble Sort
  • Insertion Sort
  • Selection Sort
  • Quick Sort

Sortilyzer is not using any build system for now like CMake, PreMake, Bazel etc. Therefore if you wish to run it on OS other than Windows, you have to set up things from scratch.

Setup Guide

Windows

In order to build and run sortilyzer locally on your system you need

  • Microsoft Visual C++ Compiler
  • GLFW
  • GLEW
  • SFML
  • Dear-ImGui
  • ImGui-SFML

Once you have all these dependencies, clone the repository and set the include path, Linker dependencies in project properties in Microsoft Visual Studio.

Sortilyzer is using static library linking so make sure you also set the static SFML flag and GLEW static flag in properties > C/C++ > Preprocessor > Preprocessor Definitions

  • For GLEW set GLEW_STATIC
  • For SFML set SFML_STATIC

After setting all these you will successfully be able to build Sortilyzer on your local machine.

Provided here a basic overview for how to setup on local system, In case of any problem feel free to open issue regarding.

Linux

  • Install SFML, glfw, GLUT, GL, GLU, GLEW
  • run ./premake gmake
  • run make

Check bin folder for executable file to run the app

Test Drive

Preview


Contribution

All PR are welcome.

About

A sorting algorithm visualizer able to visualize Bubble sort, insertion sort, quick sort, selection sort. written using SFML and Dear ImGUI. Under MIT License.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages