The Gyroid, Schwarz P, and Schwarz D — infinite surfaces repeating in 3 directions
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.
No mirror symmetry — two intertwined labyrinths
The Schwarz P and D surfaces are conjugate minimal surfaces — related by the same associate family transformation as the catenoid and helicoid. Watch them morph between each other.
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
Watch a horizontal plane sweep through a TPMS. The left panel shows the 3D surface with the slice plane; the right panel shows the 2D cross-section at that height. Notice how the intersection curves evolve continuously.
Triply periodic minimal surfaces appear throughout the natural world and are increasingly used in engineering. Here are four remarkable examples.
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.