Build the centerline
Start with a circle. At each angle, form a local cross-section perpendicular to the path. Joining successive sections makes a continuous tube.
Carve the ribs
Modulate the tube radius around the major axis. A cosine gives each rib a crest and a valley. A slight phase offset around the minor axis twists the surface.
const fold = (1 + Math.cos(76 * u)) / 2;
const radius = 0.49 * (0.69 + 0.31 * fold ** 0.58);Light the surface
A broad key light reveals the bands. Orbit the study to see the silhouette change while the mesh stays fixed. The still image carries the same shape to devices without WebGL.