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.
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.


