  A residue design is an artistic geometric construction in which we have $n$
equally-spaced points on a circle numbered 0 through $n-1$ and we join with a
line segment each point $k$ to $ak$ modulo $n$ for some fixed $a\ge 2.$ The
envelopes of these lines are epicycloids, like cardioids. In this article, we
prove that the sum of the lengths of these line segments has a surprisingly
simple closed form. In particular, if one wants to make one of these designs
with string, it is easy to calculate how much string is required.
