The Gyroid, Schwarz P, and Schwarz D — infinite surfaces repeating in 3 directions
Some minimal surfaces repeat forever in all three directions, splitting space into two tangled labyrinths. Butterflies grow one of them in their wing scales.
Switch between the Gyroid, Schwarz P, Schwarz D, and Neovius surfaces, add unit cells, and slide the clipping plane to look inside the channels.
No mirror symmetry — two intertwined labyrinths
A triply periodic minimal surface (TPMS) is a minimal surface that repeats in three independent directions, tiling all of space like a crystallographic lattice. These are among the most visually stunning objects in mathematics — and they appear throughout nature.
The most famous is the Gyroid, discovered by Alan Schoen in 1970. It has no straight lines, no mirror symmetry planes, and divides space into two congruent, intertwined labyrinths. Butterfly wings use the Gyroid nanostructure to produce their iridescent colors.
Explore the Gyroid, Schwarz P, Schwarz D, and Neovius surfaces rendered via marching cubes. Adjust the resolution and number of unit cells, and use the clipping plane to peek inside the labyrinthine channels.
Many TPMS can be approximated by level sets of trigonometric functions:
Schwarz P: cos x + cos y + cos z = 0
Gyroid: cos x sin y + cos y sin z + cos z sin x = 0
Schwarz D: sin x sin y sin z + sin x cos y cos z + cos x sin y cos z + cos x cos y sin z = 0
Neovius: 3(cos x + cos y + cos z) + 4 cos x cos y cos z = 0
Press Animate to morph Schwarz P into its conjugate, Schwarz D — the same bend that turns a catenoid into a helicoid.
Press Animate to sweep a plane through the surface. Watch the cross-section on the right as loops split apart and merge.
Four places these surfaces turn up, from living things to 3D-printed parts.
Structural color without pigments
The scales of many butterfly species (e.g., Callophrys rubi) contain a Gyroid nanostructure at the ~300nm scale. Light diffracting through this periodic lattice produces brilliant iridescent greens and blues — no pigment required. The Gyroid was identified in butterfly wings in 2008 using electron microscopy.
Polymer chains organize into TPMS spontaneously
When two immiscible polymer blocks are bonded together, they phase-separate at the nanoscale. Under certain volume fractions, the interface between phases adopts the Gyroid geometry. This self-assembly process is used in materials science to create nanoporous membranes, photonic crystals, and battery electrodes.
Optimal strength-to-weight architecture
The spongy (cancellous) bone inside vertebrae and long bone ends has a structure that approximates triply periodic minimal surfaces. This geometry maximizes mechanical strength while minimizing material use. Biomedical engineers now 3D-print TPMS-shaped titanium implants that promote bone ingrowth because cells recognize the familiar geometry.
Lightweight engineering with tunable properties
TPMS lattices are increasingly used in aerospace and automotive engineering. Their smooth, self-supporting geometry is ideal for additive manufacturing. By varying the wall thickness and choice of TPMS, engineers can tune stiffness, permeability, and thermal conductivity. Heat exchangers with TPMS channels achieve 30-40% better thermal performance than conventional designs.
Spot a mistake or have an idea?