Y

YouLibs

Remove Touch Overlay

10 Sorting Algorithms Visualized

Duration: 07:09Views: 48.4KLikes: 1.5KDate Created: Sep, 2018

Channel: Hopson

Category: Science & Technology

Tags: minecraftc++gamepewdiepiemultithreadedsfmlandroidforlanguagedoprogramioslwjglunityhowapplerusttutjavadevenginedoesgamestutorialunrealmakeprogrammingskyc#learnto

Description: GENERAL INFO: This is a showcase of the program made in the video here: 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: 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: github.com/Hopson97/Sort-Algorithm-Visualiser/releases/tag/v0.2 SOURCE CODE: github.com/Hopson97/Sort-Algorithm-Visualiser ========= RESOURCES: ========= MUSIC USED: Ken Silverman - NEATSONG.kdm ========================================= LINKS: GitHub: github.com/Hopson97?tab=repositories Discord Server: discord.gg/DeEhUXY Support me on Patreon: patreon.com/Hopson Follow me on Twitter: twitter.com/Hopson1997

Swipe Gestures On Overlay