filmov
tv
Colorful Visualization of Sorting Algorithms | 13 Algorithms in 5 Minutes

Показать описание
Visualization of quick sort, bubble sort, merge sort, selection sort, insertion sort, heap sort, radix sort, gnome sort, pancake sort, stooge sort, shell sort, bogo sort and cycle sort. Visualization was completed in java with integer arrays of 192 elements. Each color gradient is randomly generated, and after the initial loop of sorts a random sort is selected. The current indices of the sorting algorithms are shown by the white squares at the top of the bars.
This video saw a switch from javafx to the basic java graphics library. Although seemingly counter intuitive, it allowed for a much more basic and clean data visualization in order to create something much more enjoyable and satisfying in my opinion.
Sorting algorithms are amazing, both functionally and visually. Programming and watching these algorithms sort arrays is an incredible phenomenon, which inspired me to create these sorting algorithm visualization series.
Programming is a method of data processing that converts human language into machine language, to allow us to communicate and control computers. Programming languages like Python, Java, C, C++, C#, HTML and CSS allow software developers to manipulate machine code in order to perform functionalities that improve our lives, such as sorting and processing data, creating animations, creating graphical user interfaces, enabling communication, and many many other things. Computers have changed our lives, and computer sciences continues to push the limits of programming, allowing us to do thing we never thought possible.
If you like java, coding, programming, or anything of the sort, Sorted is here to create the content that you want. Comment below any algorithms, visualizations, or other projects that you would like me to complete down below! If you would like the source code for these projects, I can post them with a link.
Комментарии