News for hackers. Stuff that matters.
Re:Algorithm Visualizer by ranger_danger on Tuesday March 24, 2026 @09:37PM (#47512078)
Very cool... wanted to check out the source but the only clue I could find to a source repo (the "Fork" button) does not work.
Re:Algorithm Visualizer by QuantumNomad_ on Tuesday March 24, 2026 @09:53PM (#47512214)
The fork button in bottom left corner goes to a repo on GitHub https://github.com/algorithm-visualizer/algorithm-visualizer
Re:Algorithm Visualizer by diyseguy on Tuesday March 24, 2026 @11:00PM (#47512711)
Love it, thank you for this. The last one 'Shortest Unsorted Continuous Subarray' produced some errors: 'Cannot set properties of undefined (setting 'selected')
Re:Algorithm Visualizer by smusamashah on Wednesday March 25, 2026 @04:35AM (#47514776)
I made an only sorting algo visualizer which runs same algo on many randomly sorted arrays at the same time. The swap call which actually does the sorting also does the drawing. You could draw whole array or just one swap.

It looks very cool on large arrays.

https://xosh.org/VisualizingSorts/sorting.html

https://xosh.org/sorting-algorithms-visual-comparison/

Re:Algorithm Visualizer by anshik1998 on Wednesday March 25, 2026 @05:15AM (#47515058)
Love it. I also built a platform that works for any algorithm and problem based on call stack tracing. Works best for recursion, backtracking and dynamic programming problems. https://www.onenoughtone.com/visualizers
Re:Algorithm Visualizer by mihaic on Wednesday March 25, 2026 @07:48AM (#47516072)
Good luck with the project, especially in this day and age.

Not sure if the author might be here, but I'm just wondering if it might have take inspiration from old CS Academemy lessons. I worked on those, and recognize some UI ideosincracies that bring up nostalgia, like for https://csacademy.com/lesson/breadth_first_search

Re:Algorithm Visualizer by julietsecurity on Wednesday March 25, 2026 @08:18AM (#47516350)
This is pretty neat. you should add sound effects like this - https://www.youtube.com/watch?v=kPRA0W1kECg
Re:Algorithm Visualizer by sciencesama on Wednesday March 25, 2026 @10:26AM (#47517789)
visual leearning
Re:Algorithm Visualizer by cyral on Wednesday March 25, 2026 @12:32PM (#47519637)
Very cool. One of my favorite professors in college would make 100+ slide powerpoints of algorithms and flip through them really fast in order to visualize what they were doing, it was really helpful.
Re:Algorithm Visualizer by jart on Wednesday March 25, 2026 @05:43PM (#47523694)
I love it. Work like this does a great service to humanity.
Re:Algorithm Visualizer by sshlocalhost98 on Thursday March 26, 2026 @02:52AM (#47527351)
At National University of Singapore, we use https://visualgo.net/en/sorting?slide=12-1. It was developed by Prof. Stephen Halim.