Quadratic Bezier Curves by the De Casteljau Algorithm

We will construct what is called the quadratic Bezier curve by means of a geometric algorithm.

Cubic Bezier Curves by the De Casteljau Algorithm

We will construct what is called the cubic Bezier curve by taking the previous construction a step further.

 

Area, shears and affine mappings

We will investigate the areas of parallelograms in (x,y) space.

In a new sketch, show the axes and then construct a parallelogram as in the figure, with one vertex at O, the origin, one at A and one at B as shown. The fourth vertex S has position vector A+B. But sure to have the whole line BS, not just the segment. Construct a point C on this line.

 

  • Now relabel Point C as B1.
  • Mark vector OA and translate B1 by this vector to get new point S1. Construct the sides and interior of this new parallelogram OAS1B1.
  • Explain why the new parallelogram has the same area as the old parallelogram OASB.
  • Now suppose A = (a,b) and B = (c,d). If we drag B1 so that B1 is on the y-axis, what are the coordinates of B1.
  • In this case, what are the coordinates of S1?
  • If we take OB1 as the base of this parallelogram, what is the base and what is the height?
  • What is the area of OAS1B1? This should be a formula in terms of a, b, c, d. This is also the area of OASB, or the parallelogram, with sides OA, and OB. Do you see the determinant?

A shear is an affine transformation that leaves one line m fixed and moves some point B to another pont B1 so that BB1 is parallel to m. This means all lines parallel to m along themselves. The example above was a shear. If we think in terms of affine coordinates, a point with affine coordinates (x,y) in terms of the axes OA and OB is mapped to a point P' with the same coordinates in terms of OA and OB1.

Add to the figure a point P and figure out how to construct P'

Explain how the parallelogram OAS1B1 (when B1 is on the y-axis) can be sheared in a vertical direction into a rectangle with sides parallel to the axes. This means that any affine transformation is a product of two shears and a scaling parallel to the x and y axes (a strain).