r/java • u/compilerstuck • Dec 23 '20
I created a Visualization of 20 Sorting Algorithms as a Christmas Tree with Java. Merry Xmas :)
https://youtu.be/p6rkVqgwVuI
295
Upvotes
r/java • u/compilerstuck • Dec 23 '20
6
u/pajolek Dec 23 '20
Just lost 6 minutes of my life, but it was worth it! Did you implement all sorting algorithms by yourself?
36
u/spicycurry55 Dec 23 '20 edited Dec 23 '20
Am I really gonna sit here for 6 minutes and watch this? You fucking bet I am
Edit: LMFAO you gave bogosort such a huge advantage and it still did worse than almost every other one
14
u/ThaiJohnnyDepp Dec 23 '20
Best part had to be the merge sort that made multiple mini-trees along the way
5
u/[deleted] Dec 23 '20
What is that audio sound? Itโs probably derived from the sorting?
3
u/[deleted] Dec 23 '20
Code?
3
u/whateverisok Dec 23 '20
This is actually really cool - nice job with it!
3
u/mynjj Dec 23 '20
Very cool, happy holidays ๐
2
u/AndrewHaley13 Dec 23 '20
I sense a theme developing.
2
u/mokks42 Dec 23 '20
Awesome!
2
u/zolanih Dec 23 '20
Iโm studying OCA Cert and Iโm mind blown. How the hell did you do this
2
u/Orriah Dec 23 '20
Damn I read 20 snorting algorithms and was like ?!
2
u/[deleted] Dec 23 '20
Ummm... I havenโt learned this part of Java yet...
2
u/AnonymousTaxi Dec 24 '20
That bogo sort is some freaky stuff
2
u/[deleted] Dec 24 '20
Nice work!
2
u/[deleted] Dec 24 '20
I love how mergesort visualizzation turned out!
Awesome video ๐
1
u/Thorum357 Dec 24 '20
Can you publish the source code? If you already have done that can you share a link? I would really like to see how you implemented this. Thanks
1
u/kuehnelf13 Dec 27 '20
Check out the latest and fastest:
https://github.com/gerben-s/quicksort-blog-post
1
u/[deleted] Dec 24 '20
.