liveBook · Manning

Parametric curve

As explained in Geometry for Programmers

A parametric curve is a curve whose coordinates are specified as functions of one or more independent parameters.

A parametric curve maps parameter values to points. In two dimensions, coordinate functions x = fₓ(t) and y = fᵧ(t) produce one point for each t; the same idea extends to three dimensions. section 5.2.2 section 7.2

This representation turns geometry into programmable formulas used in CAD, games, bitmap vectorization, splines, and other nonlinear geometric work. section 5.0 section 5.2 section 5.2.2

Key geometric properties include:

  • Differentiate each coordinate to obtain the tangent vector (fₓ′(t), fᵧ′(t)), which describes the curve’s local direction. section 5.2.2
  • Join pieces smoothly by matching tangent directions; equal vector lengths are unnecessary when one tangent is a positive scalar multiple of the other. section 5.2.2
  • Use piecewise linear and quadratic curves to construct continuous shapes, then apply the same ideas to custom splines. section 5.2.2 section 5.2

A smooth joined curve

A curve made from linear and quadratic pieces can remain smooth at their junction when their tangent vectors share direction, even if their speeds differ. section 5.2.2

Figure 5.13 A continuous and smooth parametric curve made of two pieces: a linear one and a quadratic one
05-13

Use the figure to compare a continuous, smooth parametric curve assembled from linear and quadratic pieces. section 5.2.2

How Geometry for Programmers covers it

How deep it goes
Defines coordinate mappings and tangent vectors, then explains piecewise smoothness; defers tedious machine-formula representation to specialized software.
Examples
Uses joined linear and quadratic pieces, a boat-following spline, and bitmap vectorization as concrete applications.
What you can do after
Build piecewise curves by defining coordinate functions and controlling tangent directions at their joins.
How it connects
Connects parametric curves to derivatives, tangent vectors, piecewise functions, splines, Bézier curves, and nonlinear geometric transformations.

Also explained in

Compare how 2 books explain parametric curve →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Geometry for Programmers. The section links point to the parts of the book it draws on.