rope physics in html5 canvas