ヒレガス本 17章 課題
ランダムな直線の描画部分を曲線に変えろとの事。
これは簡単。変更部分は1カ所だけ。
thePoint = [self randomPoint];
[path lineToPoint:thePoint];
を
[path curveToPoint:[self randomPoint]
controlPoint1:[self randomPoint]
controlPoint2:[self randomPoint]];
に変えただけ。
プロジェクトファイルは、 DrawingFun.zip に置いておきます。