Physical simulation of a 2D blob polygon via Verlet integration in HTML5 Canvas