A* algorithm
Stats
FPS
Start position
End position
Path length
Options
Grid seed
Grid wall rate
Grid columns
Grid rows
Show closed set
Show open set
Help

The code is based on Daniel Shiffman's A* pathfinding tutorial

While moving cursor on grid you can hold keys down for various actions.

sset start position
eset end position
wplace wall
aremove wall
spacetoggle wall