An open API service indexing awesome lists of open source software.

https://github.com/ramonmeza/sortingvisualizer

A simple sorting visualizer built with SFML 2.4.2
https://github.com/ramonmeza/sortingvisualizer

Last synced: about 2 months ago
JSON representation

A simple sorting visualizer built with SFML 2.4.2

Awesome Lists containing this project

README

        

# Sorting Visualizer

A small visualization of different sorting algorithms.

## Implemented Algorithms

### Bubble Sort

![Bubble Sort](demo_bubblesort.gif)

## Building

### Prerequisites

- SFML
- MSVC 2019 Build Tools\*

\* Note: this is just what I used, you can use your own alternative, though the build commands will be different.

### MSVC 2019 Build Tools

This command will compile x64 version for Windows.

```sh
cl /EHsc /favor:INTEL64 /I".\include" /I"D:\code\lib\SFML-2.6.1\include" .\src\*.cpp /link /LIBPATH:"D:\code\lib\SFML-2.6.1\lib" sfml-audio.lib sfml-graphics.lib sfml-main.lib sfml-network.lib sfml-system.lib sfml-window.lib
```

After compiling, ensure the DLLs for SFML are in included in your `PATH` when you run the compiled executable.