GitHub https://github.com/CrazyReborn/hamilt...
The original program that manipulated DOM instead of array was scrapped. This version has all of the previous algorithms and merge sort performed on the array. After certain operations a function that draws the array using canvas called. I had a lot of problems understanding and implementing visualization for this specific algorithm, so if you are having trouble leave a comment and i will help you.