https://github.com/wesleych3n/sortui
Sorting Visualizer TUI with Rust
https://github.com/wesleych3n/sortui
rust self-project sorting-visualization tui tui-rs
Last synced: 11 months ago
JSON representation
Sorting Visualizer TUI with Rust
- Host: GitHub
- URL: https://github.com/wesleych3n/sortui
- Owner: WesleyCh3n
- Created: 2022-06-23T08:50:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-12T01:57:18.000Z (almost 2 years ago)
- Last Synced: 2025-01-28T16:41:36.630Z (about 1 year ago)
- Topics: rust, self-project, sorting-visualization, tui, tui-rs
- Language: Rust
- Homepage:
- Size: 1.54 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sortui

This is a self-learning project of visualizing sorting algorithms with terminal
user interface(tui). This application is written in Rust and
[tui-rs](https://github.com/fdehau/tui-rs) framework. I really enjoy building
something on terminal because I am a terminal user.
## Build
```sh
cargo build --bin sortui
```
## Run
```sh
cargo run --bin sortui
```
## Usage
`s`: select sorting algorithms
`Enter`: start auto sorting
`Space`: when no auto sorting, this perform next step in sorting algorithm
`r`: shuffle data
`j`: subtract data length
`k`: add data length
`h`: subtract auto sorting tick time
`l`: add auto sorting tick time