Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance 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

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /