Verlet Integration This is a basic implementation of Verlet integration working on html canvas. Try Out: Here TODO Cutting sticks Touch support for mobile devices Stick colors according to the length