A New Visualizer has arrived! Sphere Disparity Lines (Green) with randomized shuffle
Common Questions:
Q: How does this visualizer work?
A: The Sphere Disparity Lines Visualizer is about two things: Disparity and connectivity. On the one hand, it connects the original position of the elements to their current position in the array with a line. On the other hand, each element gets closer to the centre of the sphere the further away it is from its original position: Original position = maximum distance from the centre
Q: How was this done?
A: I've written a sorting algorithm visualizer in Java. It is quite customisable and contains over 20 algorithms and visualizers. It is open source and available for free on my GitHub: https://github.com/CompilerStuck/sort...
Q: Why does algorithm xy take so long?
A: It is a trade-off between visualising the process and being accurate in measurements. These sorting algorithms are done with sorting in a few milliseconds. I've added delays between operations to visualise the process. Calculating the estimated real time it takes an algorithm to complete may not be correct, as I try to record and sum up the actual time it takes the algorithms to complete the sorting. (And my code might have bugs, oops)
Q: Are there plans to expand or update the visualizer?
A: I am continuously looking for ways to improve and expand the visualizer. Future updates may include adding more sorting algorithms, enhancing the visual aesthetics, and incorporating more interactive features. I also consider feedback from the community. Stay tuned for updates on my GitHub page.
Timestamps:
00:00 Radix Sort (LSD) (Base 10)
00:22 Merge Sort
01:12 Shell Sort
01:58 Cycle Sort
02:20 Odd Even Sort
03:02 Bubble Sort
04:00 Insertion Sort
04:24 Quick Sort (Middle Pivot)
04:42 Quick Sort (Dual Pivot)
05:19 Heap Sort
06:07 Selection Sort
06:32 Gnome Sort
07:16 Counting Sort
07:44 Double Selection Sort
08:00 Comb Sort
08:32 Shaker Sort
09:38 Bucket Sort
09:50 American Flag Sort
10:15 Pigeonhole Sort
10:28 Tim Sort
11:13 Bogo Sort