This project is a visualization and "audibilization" of items being sorted in a list. * CONTROLS * [S] - Sort items in list using the given sort algorithm [E] - Go to Settings [T] - Halt the sorting algorithm while in process to prevent infinite loops [L] - View the current logs given by the algorithms in real time [R] - Reverse the list for maximum time complexity for most sorting algorithms [Space] - Randomize the list For mobility control, click on the bottom of the project to open the panel. Click away from the panel to close it. * STATISTICS * STATUS - The current state of the algorithm LOG - The current log sent to the logger SORT TYPE - The algorithm it is going to use to sort the given items # ITEMS - The amount of items in the list # COMPARISONS - How many comparisons were made during the algorithm processing # SWAPS - How many times two indexes in a list were swapped together during the algorithm processing # EDITS TO MAIN ARRAY - How many edits were made in the main array. Includes swapping items, or overwriting them # EDITS TO AUXILIARY ARRAY(S) - How many edits were made in temporary arrays MOUSE AT # - Which index the mouse is currently hovering on HEIGHT: #px - The hovered index's height in pixels from the tip of the item BRIGHTNESS: #% - Can only be toggled if the Line Color setting is set as Gradient. This shows the brightness of the line * SETTINGS * SORT USING - The algorithm used for sorting items in a list SHOW INFO - Should display the statistics on the visualizer ARRAY - How many items there should be in the list DISPLAY - The line type of the visualizer COLOR - The line color for the visualizer VOLUME - The volume of the bleep-bloop sound effects RESET LIST - Reset the list to account for the number of arrays in ascending order. Must be done when changing the array value * NOTES * Any weird artifacts comes from the algorithm slowing down the rendering speed of the project.
* CREDITS * @-Rex- - For the PTE+. (I have modified it so that it supports inputs, buttons, etc...) Wikipedia - For sorting algorithms Geeksforgeeks - For sorting algorithms YouTube Videos - For sorting algorithm explanations * ALGORITHMS * There are currently 15 algorithms. - Binary Insertion Sort - Bogo Sort - Bubble Sort - Cocktail Shaker Sort - Comb Sort - Counting Sort - Cycle Sort - Gnome Sort - Heap sort - Insertion Sort - Merge Sort - Odd Even Sort - Optimized Bubble Sort - Quick Sort - Dual Pivot Quick Sort - Selection Sort - If you'd like to suggest an algorithm, please say in the comments, and provide an explanation on how it works!