A simple TUI application that visualizes common sorting algorithms using ASCII bars in the terminal.
cargo run
The following algorithms were chosen for their step-by-step nature, which makes them great for visual learning:
- Bubble Sort
- Selection Sort
- Insertion Sort
All of them have a time complexity of O(n²).
More algorithms are planned for future releases!
Key | Action |
---|---|
Space |
Start / Pause |
r |
Randomize array |
a |
Change algorithm |
q , Esc |
Quit |
- Generates a random array
- Runs the selected sorting algorithm
- Visualizes each step using animated ASCII bars
why not?
This project was created to:
- Visualize sorting algorithms for educational purposes
- Have fun learning Rust and async programming
- Experiment with building terminal-based UI applications
- Add more sorting algorithms (Merge Sort, Quick Sort, Heap Sort, etc.)
- Add sounds 🎵
- Display performance statistics
Made with ❤️ by fagundescodes