Bézier Curve

Bezier

Given a set of n+1 control points P_0, P_1, ..., P_n, the corresponding Bézier curve (or Bernstein-Bézier curve) is given by

 C(t)=sum_(i=0)^nP_iB_(i,n)(t),

where B_(i,n)(t) is a Bernstein polynomial and t in [0,1]. Bézier splines are implemented in the Wolfram Language as BezierCurve[pts].

A "rational" Bézier curve is defined by

 C(t)=(sum_(i=0)^(n)B_(i,p)(t)w_iP_i)/(sum_(i=0)^(n)B_(i,p)(t)w_i),

where p is the order, B_(i,p) are the Bernstein polynomials, P_i are control points, and the weight w_i of P_i is the last ordinate of the homogeneous point P_i^w. These curves are closed under perspective transformations, and can represent conic sections exactly.

The Bézier curve always passes through the first and last control points and lies within the convex hull of the control points. The curve is tangent to P_1-P_0 and P_n-P_(n-1) at the endpoints. The "variation diminishing property" of these curves is that no line can have more intersections with a Bézier curve than with the curve obtained by joining consecutive points with straight line segments. A desirable property of these curves is that the curve can be translated and rotated by performing these operations on the control points.

Undesirable properties of Bézier curves are their numerical instability for large numbers of control points, and the fact that moving a single control point changes the global shape of the curve. The former is sometimes avoided by smoothly patching together low-order Bézier curves. A generalization of the Bézier curve is the B-spline.

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.