CS 3414 Problem Statement 2

How do those simple drawing programs work?

One approach to drawing a smooth curve that passes through a specified set of points is to use a parametric representation of the curve. The idea is to represent the curve by two functions x(t) and y(t), one for the x-coordinate and one for the y-coordinate. A good choice for these functions is cubic splines.

The core of a drawing program would have to be a routine that computes these splines, given the specified points. To make things more challenging, there are several other issues that one might have to think about. For example, here are a few: