Drag the model to rotate it, or use the arrow keys when the canvas is focused. Change the radius and mesh resolution to compare two methods of measuring the surface.
The tube formula uses a numerically integrated centerline length. The mesh area sums flat triangle areas. Its error is relative to the tube formula. Triangle count is 2 × centerline segments × cross-section segments. The picture is the equations from the article. It is not fitted to a photograph. The radius stays in a small range so this model does not cross itself.