logoalt Hacker News

Algorithm Visualizer

160 pointsby vinhnxlast Saturday at 2:47 AM8 commentsview on HN

Comments

anshik1998today at 9:15 AM

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

julietsecuritytoday at 12:18 PM

This is pretty neat. you should add sound effects like this - https://www.youtube.com/watch?v=kPRA0W1kECg

smusamashahtoday at 8:35 AM

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/

diyseguytoday at 3:00 AM

Love it, thank you for this. The last one 'Shortest Unsorted Continuous Subarray' produced some errors: 'Cannot set properties of undefined (setting 'selected')

sciencesamatoday at 2:26 PM

visual leearning

mihaictoday at 11:48 AM

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

ranger_dangertoday at 1:37 AM

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.

show 1 reply