JS Programming / Travelling Salesman Problem

Travelling Salesman Problem - Brute force approach

(Raw JS. No library used.)

Tap on the canvas below to add random delivery points for the salesman.

Processing will start when it will see a 2.5 seconds delay.