Skip to content

OpenGL Application for visualizing Sorting Algorithms

Notifications You must be signed in to change notification settings

cianjinks/Sorting-Visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sorting Visualizer

This application visualizes different sorting algorithms using OpenGL. My main goal for this project was to learn various different sorting algorithms as well as the basics of batch rendering in graphics programming.

Preview

Preview Three

Preview One

Preview Two

Building

The application can be built with Maven:

mvn clean package

The jar file will be available in the ./target directory.

Controls

Everything within this application can be controlled via the onscreen GUI. However there are also various keybinds for those actions:

B for bubble sort.

I for selection sort.

Q for quick sort.

M for merge sort.

A to randomise the data.

Libraries

  • LWJGL 3 (minimal OpenGL configuration)
  • JOML (math library)
  • Dear ImGUI (pure java binding of the C++ UI library)

Credits

Planned

  • Add more complex algorithms
  • Abstract algorithm computation to be faster