Double-click to add markers, drag to move, click to delete.

Open another window/tab and observe the live changes!

Source code