This page shows several diffrent pathfinding algorithms such as Breath first and Depth first algorithms. These can be selected in the menu to the left of grid. You can also select the interval which it will complete step of the algorithm. the smaller the faster it will go. Once you have an algorithm and time interval selected you can choose to add walls or change the start and end postion within the grid. You can choose to create walls yourself or to have random walls put within the grid. Once you are happy with the settings for the pathfinding click on the "Start Pathfinding" button to visuallize the selected pathfinding algorithm. If you wish to see this set of instructions again press the Instructions button above the control buttons.
Starting point
End point
Wall
Visited
Path
To set the starting point right click on the cell you wish to be the starting point to bring up the custom context window and select "Set Start".
To set the starting point right click on the cell you wish to be the end point point to bring up the custom context window and select "Set End".
You can create walls in the grid in two diffrent ways. The first way is to click a cell you wish to be a wall. The second way is to right click on a cell and select "Toggle Wall" in the custom context menu. If you wish to remove a wall you can either click the cell again or right click and select "Toggle Wall". If you wish to remove all walls you can click on the "Clear Walls".
You can create Random walls in the grid in two diffrent ways. The first way is by clicking the "Random Walls" button in the side panal left of the grid. The second way is to right click on a cell and select "Random Wall" in the custom context menu. If you wish to remove a wall you can either click the cell again or right click and select "Toggle Wall".
To reset the grid to the defalut state you can press the button "Reset Grid". This will reset the grid removing the walls and returning the start and end postions to the original postions.