3 videos

Curves in 10 seconds

Famous curves from a single equation.

A heart, a flower and a butterfly, each drawn by a single equation in about ten seconds. This series is about how much shape a short formula can hold, and which part of the formula does which job.

How it works

A curve is a point that moves. Each of these curves gives the position of a point as some parameter runs along, usually an angle t or θ. There are two common ways to write it.

  • Parametric form gives x and y separately as functions of t. The heart in No. 002 is x = 16·sin³t, y = 13·cos t − 5·cos 2t − 2·cos 3t − cos 4t, with t going once round from 0 to 2π.
  • Polar form gives the distance r from the centre at each angle θ. The rose in No. 009 is r = cos(kθ). The butterfly in No. 034 is polar too, with r = e^(cos t) − 2·cos 4t − sin⁵(t/12).

Every term has a job. Waves like cos t and cos 4t are the building blocks. A big, slow wave sets the overall shape, and smaller, faster waves add bulges, dips and points. In the heart, the big cosine makes a tall oval and the three smaller ones push in the dip and squeeze out the point. Adding waves like this is a Fourier series, the same idea that lets spinning circles draw animals in the built-from-circles series.

Small changes, big effects. The rose closes neatly when k is a whole number: it has k petals for odd k and 2k for even k. Between whole numbers the petals smear and overlap. The butterfly runs t all the way to 12π, six full turns, and its slow sin⁵(t/12) term makes each turn land a little differently, which gives the wings several edges.

What changes from video to video

  • No. 002: the heart, drawn as 30 copies, each a little bigger.
  • No. 009: the rose, with k sliding from 4 to 5 to 6 and back.
  • No. 034: Temple H. Fay's butterfly curve from 1989, with its wing term turned down to zero and back.

Go further