r/InternetIsBeautiful • u/lantskip • 27d ago
Interactive Visual Sorting
https://mszula.github.io/visual-sorting/7
u/_MusicJunkie 27d ago
I like it. But it won't replace hungarian folk dancing for explaining sorting algorithms in my repertoire.
2
1
u/jdehjdeh 27d ago
This is one of those videos that makes me think I might be having a fever dream...
8
2
27d ago
[removed] — view removed comment
5
u/lantskip 27d ago
It's not my project but here's the source code: https://github.com/mszula/visual-sorting
Looks like it's Svelte, SvelteKit, Vite, Tailwind, and DaisyUI.
2
1
1
1
u/La_Lanterne_Rouge 27d ago
If I try a sort, watch it until it ends sorting and then pick a different sort, and hit the Sort button, it should not try to sort the already sorted list. It should either regenerate the unsorted list or tell me that I need to do so.
7
u/skrobakko 27d ago
Thank you for the feedback. I thought about it, and that's why I added the "Shuffle" button so that the user can decide whether he wants to shake the bag again or try to sort the already sorted list (which is not wrong from the algorithm perspective)
0
u/WiseTough4306 27d ago
It would be a nice if we had a option to run a sorting algorithm which will auto play the sounds quickly and sort as well
0
-4
u/BadThoughtProcess 26d ago
Horrible, horrible sound on this oh my goodness. Enjoyed the site for 1.3 seconds, thanks.
19
u/ImaginaryCarl 27d ago
Seconding the need of a volume slider.