Skip to content

This repository offers a collection of implementations of classic and modern algorithms, accompanied by interactive visualizations for deeper understanding in Rust.

Notifications You must be signed in to change notification settings

Gaok1/SortingAlgoView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

Sorting Algorithm Visualizer in Terminal

This project is a sorting algorithm visualizer that runs in the terminal, specifically in the Windows CMD. To display colors and other visual effects, we use Ansicon.

Requirements

Installation

1. Install Ansicon

  1. Download Ansicon from the official repository.
  2. Extract the downloaded zip file to a directory of your choice.
  3. Open CMD and navigate to the directory where you extracted Ansicon.
  4. Run the following command to install Ansicon:
    ansicon.exe -i

Usage

  1. Open the executable with Ansicon or use it in the terminal and run the application (exe).

  2. Select a sorting algorithm to run:

    • 0 : Shuffle
    • 1 : Selection Sort
    • 2 : Insertion Sort
    • -0: Bogo Sort
    • 3 : Bubble Sort
    • 4 : Quick Sort
    • 5 : Stalin Sort
    • 6 : Cocktail Shaker Sort
    • 7 : Merge Sort
    • 8 : Heap Sort
    • q : Quit
  3. Enjoy the visual representation of the sorting process.

Example

image image

About

This repository offers a collection of implementations of classic and modern algorithms, accompanied by interactive visualizations for deeper understanding in Rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages