r/java • • 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

22 comments sorted by

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?

9

u/compilerstuck Dec 23 '20

Yes, all algorithms were implemented by me. (Sure a little copy-paste here and there)

2

u/pajolek Dec 23 '20

Cool. Have nice a Christmas ๐Ÿ™‚

2

u/DexTheShepherd Dec 24 '20

Impressive, if not only for the time commitment!

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/[deleted] Dec 24 '20

.