Drawing curved lines

Clicking to place anchor points on the canvas will generate a curved line between them.