Skip to content

csharpinthecsharp/terminal-sort-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IN PROGRESS..

📖 Terminal Sorting Algorithm Visualizer

Python program that demonstrates and compares the speed of different sorting algorithms directly in your terminal.


Overview

This tool provides a simple, visual way to observe how sorting algorithms perform on random data arrays of varying sizes and speeds.

Tip: For very large arrays (n ≥ 10,000), use CTRL - to zoom out for to see more accurate real time sorting.


How to Use

Run with make to build and execute the program:

$ make          # or 'make re' to rebuild, 'make clean' to clean up
$ ./sort_script

Choose Your Algorithm

You’ll be prompted to select a sorting method:

(1): Bubble sort
(2): Selection sort

Choose Visualization Speed

Then pick how fast you want the visualization to run:

(1): Default
(2): Slow
(3): Very slow

Example

Here’s a quick look at the visualizer in action:

Screencast from 2025-10-27 23-31-58


TODO

  • Add more algorithms
  • Display real-time stats and more stats overall

About

Visualiser for sorting algorithm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •