draw smooth curve

curveToメソッドを利用して、任意の点同士をスムーズにつなぐ