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

Latest commit

 

History

History
32 lines (25 loc) · 674 Bytes

README.md

File metadata and controls

32 lines (25 loc) · 674 Bytes

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)