Skip to content

πŸ”πŸ“Š Sorting Algorithm Visualization made using SFML and C++

License

Notifications You must be signed in to change notification settings

SteponasK/Sorting_Algorithms_SFML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Sorting Algorithm Visualisation

menu_picture

Educational Sorting algorithms visualisation made using SFML and C++, used to learn how a sorting algorithm works. EDUCATIONAL APPLICATION

πŸ“Š Available algorithms

  1. Bubble sort
  2. Shaker (Coctail) Sort
  3. Selection Sort
  4. Double selection sort
  5. Insertion Sort

πŸ’ͺ Features

Sorting_Algorithm_Gif

  • 5 Different Sorting Algorithms
  • Change number of Bars to be sorted
  • Change FrameRate (FPS) cap
  • Explanation, of how each sorting algorithm works.

πŸ“– Prerequisites

You need to have CMake or SFML installed.

⬇️ Installation

If you have CMake installed:

Open your Command Prompt or Terminal

For a single-configuration generator (typically the case on Linux and macOS):

  • cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
    cmake --build build
    

For a multi-configuration generator (typically the case on Windows):

  •  cmake -S . -B build
     cmake --build build --config Release

Compiling it yourself with SFML:

  1. Clone this repository
git clone https://github.com/SteponasK/Sorting_Algorithms_SFML
  1. Configure your project, using online guide or a youtube video.

  2. Compile all the files using Visual Studio or the IDE of your choice.

πŸ—οΈ Built With

  • SFML - Software Development Library
  • C++ Programming Language

✨ Contributing

Currently, contributing to the project is not available, as the project was created for me to learn SFML, C++ and Sorting Algorithm theory. Howerer feel free to fork this project, and experiment with your own modifications!

πŸ‘‘ Authors

  • SteponasK - Initial work

πŸ“œ License

This project is licensed under the GNU GENERAL PUBLIC LICENSE - see the LICENSE file for details