Skip to content

alexmmych/sorting-visualization

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sorting-visualization

CI Status

A Rust program for visualizing sorting algorithms which uses Piston for graphics. Inspired by Hopson97/Sort-Algorithm-Visualiser.

Demo

Setup

git clone https://github.com/dmitmel/sorting-visualization
cd sorting-visualization
cargo build --release

Usage

# see 'Features' section for the list of supported algorithms and their IDs
# and use the --help flag to print all available animation options
cargo run <algorithm>
# list all available algorithms
cargo run -- --list

Features

Building docs

./docs.sh

Nightly Rust is required for building docs because it has infra doc link resolution which is currently unstable.

TODO

  1. User-friendly GUI
  2. More algorithms
  3. Sound?

Contributing

Documentation

PRs are appreciated!

License

MIT © Dmytro Meleshko

About

A Rust program for visualizing sorting algorithms which uses Piston for graphics. Inspired by https://github.com/Hopson97/Sort-Algorithm-Visualiser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.5%
  • Shell 0.5%