Welcome to the Sorting Visualizer project! This project is built using SFML (Simple and Fast Multimedia Library) and provides a visual representation of various sorting algorithms like Quick Sort, Merge Sort, and Heap Sort.
Explore the codebase and contribute to the project on GitHub: Sorting Visualizer GitHub.
-
Install GNU G++ Compiler:
sudo apt-get install g++ -
Install SFML:
sudo apt-get install libsfml-dev
-
Compile Sorting.cpp:
g++ -c Sorting.cpp -
Link object file and SFML libraries to create executable:
g++ Sorting.o -o sfml-app -lsfml-graphics -lsfml-audio -lsfml-window -lsfml-system
- Execute the compiled executable:
./sfml-app
This Sorting Visualizer project aims to provide a hands-on learning experience of sorting algorithms by visualizing their operations. With colorful bars representing elements, users can observe how different sorting algorithms rearrange the elements to achieve a sorted array.
- Visual representation of sorting algorithms.
- Support for various sorting algorithms like Quick Sort, Merge Sort, and Heap Sort.
- Colorful bars representing array elements for better visualization.
- Integration with SFML for smooth graphical rendering.
Contributions are welcome! Feel free to open issues, suggest improvements, or add new features to the project. Let's make sorting algorithms more accessible and fun to learn!
Watch the project in action:
