An implementation of the "Breadth-first", "Depth-first" and "A" algorithms using Processing and Java.
Right Click ==> Change goal position.
Left Click ==> Change start position.
"B" Key ==> Breadth-first algorithm.
"D" Key ==> Depth-first algorithm.
"M" Key ==> A algorithm (Manhatan).
"L" Key ==> A algorithm (Diagonal).
"E" Key ==> A algorithm (Euclidean).
Any other key ==> Resets the path.
To change the waiting time between the drawing of cells, please modify the value of the WAIT_TIME variable.