HTML, CSS, and JavaScript: Path finder with A (Manhattan style) plus shuffling*
Visualization demo is at: Thor
- The grid size (x and y) and dimensions (square size) can be customized in the
g_s
variable. - The directions shuffling can be replaced with actual array tinkering.
There's a cleaner version of the JavaScript
.
It's named as path_finder_mr.clean.js
.
You might be interested to glimpsly skim it, for 1 ms.
And close the browser, and.
The basic about A algorithm* can be read on Wikipedia