Algorithm Visualizer

#project
By Nikolai Dokken 2019-11-25

How does shortest-path algorithms work?

Learning about Dijkstra and A* in the course TDAT2004 Datacommunication and Networks left me with this question. To answer it I wanted to visualize the algorithms by animating the search and the resulting path found.

Result

The result was a website created using React and a bit of CSS. The application lets users pick a start and end point, and put up walls that make the path finding more complicated. Furthermore the user can choose whether the A* or Dijkstra algorithm should be used for the search.

The algorithm visualizer website. It shows a grid where a shortest path has been found by searching outwards and through inpenetrable walls

🔗 Visit the website here