Skip to content
This repository has been archived by the owner on Nov 25, 2021. It is now read-only.
/ svt Public archive

📈 Yet another sorting visualizer

License

Notifications You must be signed in to change notification settings

aod/svt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

svt

A minimal looking customizable Sorting Visualizer for the Terminal

Installation

Install it to your $GOPATH/bin using the go install command:

$ go install github.com/aod/svt/cmd/svt

Usage

$ svt --help
Usage of svt:
  -a int
        Array size (default 12)
  -algorithms
        Print out all available sorting algorithms
  -d duration
        Delay between sorts (default 16ms)
  -q    Automatically quit after it's done sorting
  -s value
        Sorting algorithm, choose from:
        bubble, bogo, cocktail, comb or selection (default bubble)
  -t int
        Column thiccness (default 4)