# develop-08 9110 Autum 1991 — source transcripts, page 2

[Canonical transcript page](https://www.vintageapple.net/transcripts/media/va-develop-08-9110-autum-1991-4c4f24/2)

## Transcribed source material

Machine transcriptions and image descriptions; uncertain copy may be marked [illegible]. Verify against the linked originals. Historical rights remain with the original owners.

These are transcribed excerpts, not the full publications. Open the originals for remaining pages.

### PDF page 12

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-08-9110-autum-1991-4c4f24/2#scan-9aaf765b1e6c71766417fc285367b3077017052dc49d819925874a038e68b3b7)

Transcribed text:

d e v e l o p   Autumn 1991
10
Though you can draw curves without understanding the
mathematics behind the operation, some people find this
kind of thing interesting. This explanation is for those
people (you know who you are).
A quadratic Bézier (or parabola) can be defined by the
parametric equation f(
t ) =
a(1 –
t )  2  + 2
bt(1 –
t ) +
ct  2
where
t is a scalar and
a, b, and
c are points.
This parametric formulation has the advantage of being
rotationally independent: since
t is the independent
variable, and not
x or
y, there is no bias for curves that
are symmetric about the x- or y-axis. Thus, to rotate the
curve, you only need to rotate
a, b, and
c into their new
positions, while the equation for the curve stays the same.
To better understand the equation, take a look at its
geometric representation in Figure 3. You’ll note there that
as the curve is drawn from point
a to point
c,
t varies from
0 to 1. The curve at
a is tangential to the line
ab, and the
curve at
c is tangential to the line
bc. Its maximum
displacement from the line that could be drawn from
a to
c is reached at point
q, where
t is 0.5. In addition, the
curve at
q is parallel to the (imagined) line
ac.
Perhaps the most useful property of the curve in this form
is the easy way it can be decomposed into a pair of
smaller curves, each of the same form. This is called
subdivision and is the basis for drawing curves in
QuickDraw.
Suppose we subdivide the curve at point
q, as shown in
Figure 4. The point
q is q =
f ( 0.5) = (
a + 2
b +
c) / 4
The tangent (that is, the first derivative) of the curve at
q is
parallel to the line
ac.
f ' (
t ) = –2
a(1 –
t ) + 2
b(1 – 2
t ) + 2
ct
f'(0.5) =
c –
a
The line from the point
b' = (
a +
b) / 2 to
q is tangential
to the curve at
q.
q –
b' =
(
a + 2
b +
c) / 4 – (
a +
b) / 2 =
(
a + 2
b +
c – 2
a – 2
b) / 4 =
(
c –
a) / 4
By symmetry, the same holds for
b'' = (
b +
c) / 2.
Thus, the formulas for the two curves that make up the left
and right halves of the original curve are as follows:
Left:
a' =
a
b' = (
a +
b) / 2
c' = (
a + 2
b +
c) / 4
Right:
a'' = (
a + 2
b +
c) / 4
b'' = (
b +
c) / 2
c'' =
c
The equations for the new points are especially nice,
since the arithmetic can be performed with only shifts and
adds, making it very efficient.
Notice in Figure 4 that each of the resulting smaller curves
is flatter than the original curve, by a factor of 4. This
means that the distance from the midpoint of the curve to
the midpoint of the straight line drawn from the start point
to the endpoint is reduced by 4. Thus, if the curve is
subdivided enough times, drawing the curve will be
equivalent to drawing a line from the start point to the
endpoint for each of the little curves. This is the basis for
drawing the curve in QuickDraw.
PARAMETRIC EQUATIONS, ANYONE?

Reading notes: Mathematical notation and superscripts are flattened in the extracted text, so exact symbols may be unclear. Figure references (Figure 3, Figure 4) point to unseen diagrams.

Printed dates: Autumn 1991

Languages: English

[Original PDF page 12](https://www.vintageapple.net/files/957cdceb6cd0def3f71f45bad80fbc422d7cde42ad3f4359ac2ade28f41cc11a/develop-08_9110_Autum_1991.pdf#page=12)

[Previous transcribed scans](https://www.vintageapple.net/transcripts/media/va-develop-08-9110-autum-1991-4c4f24/1.md)
