Each algorithm will be visualized inside a rectangular box. Data example: (5,72,23,51)
The largest data (72) entry will represent 100% length stick of the box (with padding ofc)
The smallest data entry (5) will represent 1% length stick of the box
A stick will be in blue color with width according to the length of the unordered data set (width of box/4)px?
When an algorithm starts sorting, the positions of the sticks (data) being changed is seen live, gives best visualization and understanding of how the algorithm works.
Visualization should have the following animation
Use of Bubble Tea is recommended but using raw TUI is not discouraged either. If raw TUI is used, code should be pluggable and implementing other UIs should be smooth.
This issue will further be divided into sub issues when someone volunteers and can lay out the plan on how to do this based on which, simpler issues can be created.
Each algorithm will be visualized inside a rectangular box. Data example: (5,72,23,51)
Use of Bubble Tea is recommended but using raw TUI is not discouraged either. If raw TUI is used, code should be pluggable and implementing other UIs should be smooth.