As a small gear slides around the inside of a large ring, the pen position is calculated as an angle from the ring's center, stacking up a curve that curls inward