Press G to generate points, Press SPACE to run the algorithm GREEN line | fastest way GRAY line | searching path BLACK dot | point
all by me