How a meshline habit turned into a tube renderer, and the three ways I got the maths wrong along the way.