/svt

📈 Yet another sorting visualizer

Primary LanguageGoMIT LicenseMIT

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)