This is a Breadth First Search demo.

You can drag Start point(green) and End point(red) to change path.

Click and move your mouse to add or remove walls.