Skip to content

Basic application built with OpenGL to explore and visualize differents sorting algorithms.

License

Notifications You must be signed in to change notification settings

ThiagoVicentini/SortingAlgorithmsVisualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SortingAlgorithmsVisualizer

Basic application built with OpenGL to explore differents sorting algorithms. It uses the FreeGlut API, which implements the OpenGL commands.

Bubble sort

Selection sort

Double-Selection sort

How to use

Installing freeglut on Ubuntu

$ sudo apt-get install mesa-common-dev
$ sudo apt-get install freeglut3-dev

Compile

make

Run

make run

Usage

  • Use the 'r' key to regenerate the array
  • Use the 'b' key to sort with bubble sort
  • Use the 's' key to sort with selection sort
  • Use the 'd' key to sort with double-selection sort
  • Use the 'S' key to sort with c++ standart sort implementation

About

Basic application built with OpenGL to explore and visualize differents sorting algorithms.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published