3 ms·
I also made a sorting visualizer based on a popular imgur sorting gifs gallery. Demo https://xosh.org/VisualizingSorts/sorting.html https://xosh.org/Visualizi
by smusamashah 2y ago
I also made a sorting visualizer based on a popular imgur sorting gifs gallery.
Demo https://xosh.org/VisualizingSorts/sorting.html https://xosh.org/VisualizingSorts/sorting.html
Post https://xosh.org/sorting-algorithms-visual-comparison/ https://xosh.org/sorting-algorithms-visual-comparison/
Imgur gallery I was trying to replicate https://imgur.com/a/voutF https://imgur.com/a/voutF
This also let you try out your own sorting algorithm too btw and share that in url. For example this algo https://xosh.org/VisualizingSorts/sorting.html#IYZwngdgxgBAZgV2gFwJYHsIwgUwO4DK6ATsgBTDHEA0MAJscHgJQwDeAUDFJiMtjAC8MSsQB0AGxwQA5sgAWAbi5wSMMlP6pBABkUxUAHgj7UAajOtOMeGo05+AK137Hx1xatcbqOOtEA2qgAujCGIlQBjsFeNjYgeMAADhRUtKi0jszKcSKJqPwMTKk0MADM6dRZOTYAvt71MPW1QA https://xosh.org/VisualizingSorts/sorting.html#IYZwngdgxgBAZ... which was discussed at the time https://news.ycombinator.com/item?id=31975507 https://news.ycombinator.com/item?id=31975507
(Dont turn on sound, i dont know how to make it sound nicer)
The detail slider is a manual thing. You put the render call with 1/2/3 level in the loop. Only the lines with same render level will be displayed. Can be used to see the sorting at different granularity.