Notes:
Mazes are simple parameters, where a pixel denotes path(white), or wall(black). Unconventional mazes or RGB mazes can be retrofitted by specifiying within the state
class
The start and end is considered to be the first open path on both the top and bottom of the maze respectively.
Modify the color transition of the solver by editing the RGB transition value in the ScanImage
class.
- A* optimised
-
As opposed to brute forcing each available path the program finds nodes
-
This can reduce total working area by a significant amount
-
4k x 4k (16 million pixels) Mazes with multiple solutions can take under a minute to solve on basic hardware
-
It is not optimised to work with multiple threads
-
Special thanks to MikePound, I used a few of his mazes and ideas from Computerphile to get going!
- Notes: