Drawing the tail:
Store a history of all the tail:
More ideas: Traveling Salesman
I want to create a web page where I can select different points of interest on a map and the computer will find the shortest route for me to travel all the points. This involve more HTML and DOM skills that I need to learn from scratch. I run out of time this week so I will continue to do this in the following weeks.