GridVids
Sign in with YouTube

10 Sorting Algorithms Visualized

Hopson Sep 12, 2018 13:31
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Don't Miss
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Mark watched
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Hide
Open in popup Open on YouTube
Share video

Share video

Copy the GridVids link or iframe code.

Video link
Iframe code
Iframe content

GENERAL INFO: This is a showcase of the program made in the video here: https://www.youtube.com/watch?v=6haL-aiE21w Source code available down below, but bare in mind it was my first time using Java Swing and so it is not great. There is a much better visualizer which can be found here: https://www.youtube.com/watch?v=kPRA0W1kECg EXPLANATION: There are 256 bars. Each bar has a height depending on the value of an integer array. For example, the bar on the far left has a height of the value of "array[0]" and the far right bar has the value of "array[255]". As the sort algorithm changes the array, the bars change height accordingly. Green bars are those most recently changed. They immediately go into a red bar, which gradually fades back to the default white colour. The sounds being played were made using Java's built in MIDI Channels and Synthesizer. A note is played each time a change to the array is made. The higher the pitch, the higher the value that was changed. ========= DOWNLOAD: https://github.com/Hopson97/Sort-Algorithm-Visualiser/releases/tag/v0.2 SOURCE CODE: https://github.com/Hopson97/Sort-Algorithm-Visualiser ========= RESOURCES: ========= MUSIC USED: Ken Silverman - NEATSONG.kdm ========================================= LINKS: GitHub: https://github.com/Hopson97?tab=repositories Discord Server: https://discord.gg/detzYXTXAm Support me on Patreon: https://www.patreon.com/Hopson Follow me on Twitter: https://twitter.com/Hopson1997
Science & Technology
#Unity #Unreal #Engine #MineCraft #How #To #Tutorial #C++ #SFML #Programming #Game #Dev #Sky #does #minecraft #pewdiepie #Multithreaded #tut #how #to #make #games #android #ios #apple #lwjgl #java #C# #rust #language #do #learn #program #game #for