Quick and Simple Bézier Curve Drawing
D. Miller Robert, East Lansing, Michigan
Abstract
This gem describes a simple and efficient method for drawing Bézier curves. The method requires neither the subdivisions nor the attendant complexity of the de Casteljau algorithm (Farin 1993). Instead, calculations are reorganized to support the computation of factorials and integral powers, yielding a straightforward implementation.
Method
The general equation for a point q(t) on a Bézier curve (Mortenson 1985) is
where
The terms q, p, and ...
Get Graphics Gems V (IBM Version) now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.