Visualisation of path finding with canvas