Skip to content

Sort algorithm visualizer using c++ and opengl (glfw)

Notifications You must be signed in to change notification settings

dujo09/Sort-Visualizer

Repository files navigation

Sort algorithm visualizer

A sorting algorithm visualizer coded in c++, rendering done with help of glfw. Made as a project to learn c++ and opengl. This program is useful for better understanding how sorting algorithms work.

DEMOS
Shell sort with 1000 items gif
Shell sort
Exchange sort with 100 items image
Exchange sort

Implemented algorithms

  • Bubble sort
  • Exchange sort
  • Selection sort
  • Insertion sort
  • Shell sort
    • using Shell's and Hibbard's increment
  • Quick sort
  • Heap sort

Controls

  • SPACE - shuffle items
  • ENTER - start sort
  • BACKSPACE - interrupt sort
  • UP ARROW / DOWN ARROW - increase / decrease time step
  • INSERT - configure program
  • ESCAPE - exit program

Acknowledgments

About

Sort algorithm visualizer using c++ and opengl (glfw)

Resources

Stars

Watchers

Forks

Packages

No packages published