2 |
3 |
7 | Visualization of common pathfinding algorithms 🧭 🗺️ 8 |
9 | 10 |
11 | Website 🔗 12 |
13 | 14 | ## Features 15 | 16 | - 🗺️ Visualize common pathfinding algorithms: DFS, BFS, Dijkstra, A*. 17 | - 🧭 Move start/end nodes freely to see optimal path changes. 18 | - 🧱 Allow walls creation. 19 | - 📞 Work on mobile, however some features are available on desktop only. 20 | 21 | ## Screenshots 22 | 23 |Depth-first Search
24 |
25 |
28 |
29 | 30 |
Dijkstra's Algorithm
31 |
32 |
35 |
36 | 37 |
A* Algorithm
38 |
39 |
42 |
43 | 44 | ## Clone this repo 45 | 46 | ```bash 47 | git clone git@github.com:sonngdev/algorithms-visualizer.git 48 | cd algorithms-visualizer 49 | npm install 50 | npm run dev 51 | ``` 52 | 53 | ## Author 54 | [Son Nguyen](https://github.com/sonngdev). 55 | Check out my [website](https://www.sonng.dev/). 56 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |ctrl/cmd and click on a white node to toggle a wall.
407 |