Skip to content

Shawn1042/path-finding-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

path-finding-visualizer

Path Finding Visualizer πŸš€ A visual representation of various path-finding algorithms in action, built with HTML, CSS, and JavaScript.

Path Finding Visualizer Screenshot Screenshot (224) Screenshot (223)

Features 🌟 Interactive grid layout. Implementations of popular path-finding algorithms: Breadth-First Search (BFS) Depth-First Search (DFS) Dijkstra's Algorithm Vivid animations showcasing the path-finding process. Built-in Mario theme music for added nostalgia. How to Use πŸ’‘ Navigate to the grid and select a start and end point. Choose an algorithm by clicking on the corresponding button. Watch as the algorithm visualizes the path-finding process! Clear the grid and try again with a different path or algorithm. Background πŸ“˜ Path finding algorithms are a foundational concept in computer science, used in various fields from gaming to robotics to transport. This visualizer provides an engaging way to understand and appreciate their mechanics.

Algorithms Explained πŸ€” BFS (Breadth-First Search): BFS explores nodes level-by-level, radiating out from the starting point. It guarantees the shortest path in an unweighted graph or grid.

DFS (Depth-First Search): DFS dives deep into one direction before backtracking, exploring as far as possible along each branch. It doesn't guarantee the shortest path in a grid environment.

Dijkstra's Algorithm: This method finds the shortest path between nodes in a graph. It continually searches the node with the smallest known distance from the start node. In our visualization, the final path is highlighted, making the animation seem almost instantaneous.

Future Enhancements 🚧 Integrate more path-finding algorithms such as A*, Bidirectional Search, etc. Implement maze generation techniques. Add the ability to adjust weights and consider obstacles.

Contributions 🀝 Feel free to fork this project, make enhancements, and create pull requests. All contributions are welcome!

TRY IT OUT 🀝

https://path-finding-visualizer-theta.vercel.app/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published