CompilerStuck
CompilerStuck
  • 97
  • 2 821 630
Visualizing Sorting Algorithms
The Cubic Lines Visualizer - first time in action!
Common Questions:
Q: How does this visualizer work?
A: The Cubic Lines Visualizer displays a 1 dimensional array onto a cube. The elements draw a circle, if they are at their correct spot. A line gets drawn from the elements original (true) position to its current (false) position.
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: github.com/CompilerStuck/sorting-visualizer
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.
Like this video, if you enjoyed :)
Timestamps:
00:00 Quick Sort (Middle Pivot)
00:17 Radix Sort (LSD) (Base 10)
00:40 Heap Sort
01:31 Merge Sort
02:25 Cycle Sort
02:33 Shell Sort
03:30 Pigeonhole Sort
03:43 Odd Even Sort
04:25 Quick Sort (Dual Pivot)
05:08 Selection Sort
05:34 Double Selection Sort
05:49 Insertion Sort
06:16 Counting Sort
06:34 Comb Sort
07:12 Gnome Sort
07:58 Bubble Sort
09:11 Shaker Sort
10:35 Bucket Sort
10:48 American Flag Sort
11:14 Tim Sort
Переглядів: 6 392

Відео

20+ Sorting Algorithms - Disparity Circle
Переглядів 10 тис.8 місяців тому
The Disparity Circle Visualizer was improved to support more elements! Common Questions: Q: How does this visualizer work? A: The Disparity Sphere Visualizer: Each line gets closer to the centre of the sphere the further away it is from its original position: Original position = line has maximum length. Q: How was this done? A: I've written a sorting algorithm visualizer in Java. It is quite cu...
20+ Sorting Algorithms - Sphere Disparity Lines (3D)
Переглядів 7 тис.8 місяців тому
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 ...
20 Sorting Algorithms - Disparity Sphere (3D)
Переглядів 7 тис.8 місяців тому
The Disparity Sphere Visualizer got revamped! This video showcases 20 different sorting algorithms. Which is the best? Common Questions: Q: How does this visualizer work? A: Disparity Sphere Visualizer: 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 writte...
20+ Sorting Algorithms Visualized - Mosaic Squares
Переглядів 12 тис.8 місяців тому
One of the simplest visualizers imaginable, yet fascinating to watch! Timestamps: 00:00 Radix Sort 00:23 Merge Sort 01:12 Tim Sort 01:51 Quick Sort (Middle Pivot) 02:08 Quick Sort (Dual Pivot) 02:47 Bubble Sort 03:20 Odd Even Sort 04:00 Shell Sort 04:46 Gravity Sort 05:46 Heap Sort 06:30 Shaker Sort 07:06 Comb Sort 07:39 Gnome Sort 08:20 Cycle Sort 08:41 Counting Sort 09:00 Selection Sort 09:26...
Guess The Sorting Algorithm
Переглядів 4,5 тис.8 місяців тому
Guess The Sorting Algorithm
Swirl Dots - Sorting Algorithms
Переглядів 18 тис.8 місяців тому
It's been a long time since the swirl dot visualizer was used! It is time again with random shuffle! :) Timestamps: 00:00 Merge Sort 00:44 Quick Sort (Middle Pivot) 01:00 Radix Sort 01:22 Quick Sort (Dual Pivot) 01:56 Shell Sort 02:37 Odd Even Sort 03:15 Selection Sort 03:40 Gravity Sort 03:57 Gnome Sort 04:38 Heap Sort 05:19 Counting Sort 05:39 Double Selection Sort 05:52 Insertion Sort 06:17 ...
20+ Sorts - Disparity Sphere Hoops
Переглядів 9 тис.9 місяців тому
A new compilation of Sorting Algorithms handling randomized inputs - visualized with Disparity Sphere Hoops - Red-Blue this time! Any ideas for interesting visuals? - tell me in the comments Featured sorting algorithms: 00:00 Merge Sort 00:20 Radix Sort 00:33 Quick Sort (Middle Pivot) 00:44 Heap Sort 01:03 Shell Sort 01:23 Cycle Sort 01:36 Selection Sort 01:50 Gnome Sort 02:12 Gravity Sort 02:2...
20+ Sorting Algorithms Visualized - Bars (Reversed Inputs)
Переглядів 3,4 тис.9 місяців тому
A Compilation of Sorting Algorithms handling reversed inputs - shown here with the classic bar visualizer Featured sorting algorithms: 00:00 Merge Sort 00:20 Radix Sort 00:30 Heap Sort 00:47 Quick Sort (Middle Pivot) 00:53 Shell Sort 01:10 Cycle Sort 01:22 Selection Sort 01:35 Gnome Sort 02:12 Gravity Sort 02:20 Counting Sort 02:30 Double Selection Sort 02:37 Insertion Sort 02:52 Odd Even Sort ...
20+ Sorts - 3D Cube
Переглядів 3,9 тис.9 місяців тому
Dive into the world of sorting algorithms like never before! Witness over 20 sorting techniques come to life with this updated cube visualizer Share your favorite visual moment in the comments, and if you have suggestions to enhance this experience, let me know! Featured algorithms: 00:00 Quick Sort (Middle Pivot) 00:10 Merge Sort 00:31 Heap Sort 00:53 Radix Sort 01:03 Shell Sort 01:25 Cycle So...
20+ Sorting Algorithms Visualized - Disparity Chords (Reversed Inputs)
Переглядів 48 тис.9 місяців тому
A Compilation of Sorting Algorithms handling reversed inputs - visualized with Disparity Chords Any ideas for interesting visuals? - tell me in the comments Featured algorithms: 00:00 Radix Sort 00:11 Merge Sort 00:31 Tim Sort 00:56 Gravity Sort 01:02 Odd Even Sort 01:40 Bubble Sort 01:50 Shell Sort 02:11 Shaker Sort 02:23 Heap Sort 02:42 Comb Sort 02:55 Gnome Sort 03:34 Cycle Sort 03:46 Counti...
Radix Sort - Disparity Chords
Переглядів 10 тис.9 місяців тому
Radix Sort - Disparity Chords
25 Ways to Visualize Bubble Sort
Переглядів 14 тис.9 місяців тому
25 Ways to Visualize Bubble Sort
50.000 vs Bogo Sort
Переглядів 4,3 тис.10 місяців тому
50.000 vs Bogo Sort
20+ Sorts - Disparity Plane
Переглядів 3,8 тис.10 місяців тому
20 Sorts - Disparity Plane
20+ Sorts - Plane Visualizer
Переглядів 3,1 тис.10 місяців тому
20 Sorts - Plane Visualizer
20+ Sorts - 3D Pyramid
Переглядів 10 тис.10 місяців тому
20 Sorts - 3D Pyramid
17 Ways to Visualize Merge Sort
Переглядів 4,5 тис.10 місяців тому
17 Ways to Visualize Merge Sort
Sorting r/place 2023!
Переглядів 6 тис.Рік тому
Sorting r/place 2023!
Comparing 20+ Sorting Algorithms - Linked Disparity Circle (Reverse)
Переглядів 18 тис.Рік тому
Comparing 20 Sorting Algorithms - Linked Disparity Circle (Reverse)
Comparing 20+ Sorting Algorithms - Disparity Circle
Переглядів 6 тис.Рік тому
Comparing 20 Sorting Algorithms - Disparity Circle
Comparing 20+ Sorting Algorithms - Linked Scatter (Reverse)
Переглядів 17 тис.Рік тому
Comparing 20 Sorting Algorithms - Linked Scatter (Reverse)
Can Bogo Sort Defeat 14 Elements?
Переглядів 8 тис.Рік тому
Can Bogo Sort Defeat 14 Elements?
20 Sorting Algorithms: Number Plot
Переглядів 7 тис.Рік тому
20 Sorting Algorithms: Number Plot
Top 20 Sorting Algorithms: Disparity Circle
Переглядів 13 тис.Рік тому
Top 20 Sorting Algorithms: Disparity Circle
Sorting Algorithms: Phyllotaxis (Random)
Переглядів 12 тис.Рік тому
Sorting Algorithms: Phyllotaxis (Random)
Sorting Algorithms: Phyllotaxis (Reverse)
Переглядів 42 тис.Рік тому
Sorting Algorithms: Phyllotaxis (Reverse)
Sorting Algorithms: Disparity Circle Scatter (Random)
Переглядів 9 тис.Рік тому
Sorting Algorithms: Disparity Circle Scatter (Random)
Sorting Algorithms: Disparity Circle Scatter (Reverse)
Переглядів 56 тис.Рік тому
Sorting Algorithms: Disparity Circle Scatter (Reverse)
Sorting Algorithms: Circle (Reverse)
Переглядів 63 тис.Рік тому
Sorting Algorithms: Circle (Reverse)

КОМЕНТАРІ