Skip drawing for frames.
skip frames to speed it up (hit pause and run again).
Note: this demo is not intended (and useless) for benchmarking, because it runs on a timer.
Explanation: Pink pixels are blocking squares. Black is expensive, white is cheap. The yellow line shows the partial and final path. Semitransparent green show the closed nodes. Semitransparent cyan show the open nodes.