The creation of a curve is as follows. While sampling a
pressure sensitive stylus we simultaneously perform an iterative
curve fitting technique based on least–squared–error
estimation. Existing curve drawing solutions mostly take recourse
to a “batch” curve fitting solution, in which the fitting
is done after the stroke drawing is finished, whereas our fitting
is done on–the–fly while the curve is being sketched.