A reference implementation of shotest path using HTML Canvas