Vinnie Garcia
Barnstone method
Cage sphere construction

Structure

Display

Export

Drag to rotate • Scroll to zoom
How it worksBack to the demo

A sphere you can see through

The rings get smaller toward the top and bottom. The ribs curve between them. There isn't a solid surface, but together the curves give you enough information to read a rounded form.

Turn off Auto Rotate for a fixed view. Hide Horizontal Rings, then bring them back and hide Vertical Ribs. The rings show sections across the form; the ribs show its curve from bottom to top. Central Axis gives you a line to compare them against.

Changing the shape

Bulge changes the horizontal extent. Height Stretch changes the vertical extent. Once you change those proportions, the result doesn't have to be a true sphere.

The code starts with a spherical profile: at each height, a square-root calculation gives the radius of the section. Each ring is a torus, a tube bent into a circle. Each rib follows points sampled along that same profile at a fixed angle around the center. The ring and rib thicknesses can change independently of the overall shape.

Look at a ring from above, then closer to edge-on. Its circle becomes a narrower ellipse in the picture. With a thick tube, the outside edge isn't quite the same reference as a thin construction circle would be.

2D Snapshot (SVG) saves the view, and Copy Link keeps the configuration. For the same form described by light and shadow, try the light study.