Skip to content

A sorting visualizer in C++ for self-learning purposes. Utilized multithreading, smart pointers, synchronization mechanisms.

Notifications You must be signed in to change notification settings

pvpswaghd/sorting-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sorting Visualizer

Note: This project is intended for self-learning. If you are an experienced C++ programmer and you wanted to give constructive criticism, please drop an issue.

A simple, interactive, and visually engaging sort visualizer built with ImGui-SFML, ImGui, ImPlot, and C++.

image

Description

This project provides a visual representation of various sorting algorithms in action. By taking advantage of multithreading, smart pointers, macros, and audio, the visualizer offers an intuitive and engaging way to understand and compare the mechanics and efficiency of different sorting methods.

Dependencies

  • A C++ compiler supporting C++17 or later.
  • Currently only on Windows.

Installing

To build the repository after cloning locally, do:

   sh ./run.sh

Then, run visualizer.exe inside build/Release.

Future Work

The following features are planned for future updates:

  • Provision of sorting statistics.
  • Dynamic allocation of sorting size.
  • Detailed descriptions for each sorting algorithm.
  • Audio feedback.

Acknowledgments

Heavily inspired by:

About

A sorting visualizer in C++ for self-learning purposes. Utilized multithreading, smart pointers, synchronization mechanisms.

Resources

Stars

Watchers

Forks