A basic visual implementation of the A* algorithm, using Python and the Processing language.
To run the program, you need to install Processing (I'm using version 4.2) and run it from
its IDE.
I sadly couldn't get Processing to export an executable file, maybe it will be fixed in the future.
After opening the folder in Processing's IDE, click on play.
A 800x800 window should appear, and the algorithm will immediately start searching for the end point.
There are a few ways you can interact with the simulation:
-
Mouse buttons: (Tip: you can keep them pressed and move your mouse)
Left: add blocksCenter: move the end pointRight: remove blocks
-
Keyboard keys:
P: pause the current simulationR: restart the current simulationN: Go to next simulation


