Home▸Articles▸Geometry

Understanding Gyroid Cross-Sections: A Journey Through 3D Geometry

The gyroid, a triply periodic minimal surface, reveals its intricate structure through 2D cross-sections.

mysimulator teamUpdated June 2026≈ 3 min read▶ Open the simulation

What Gyroids Are

Gyroids are a class of triply periodic minimal surfaces, which means they have zero mean curvature and repeat in three dimensions. These surfaces were first discovered by computer scientist structural chemist Alan Schoen in 1970. The gyroid's unique structure consists of two interlocking labyrinths that never meet.

The mathematical equation for the gyroid is f(x, y, z) = sin(x)*cos(y) + sin(y)*cos(z) + sin(z)*cos(x) = 0. This equation describes a surface where at every point, the mean curvature is zero.

How Cross-Sections Work

By slicing through the gyroid with a plane parallel to one of its axes (typically the z-axis), we can observe how the structure changes. The 2D contour traced by this slice is known as a cross-section and provides insight into the 3D topology.

The marching squares algorithm is used to trace these contours, creating a visual representation that helps in understanding the gyroid's complex geometry.

live demo · related simulation● LIVE

Manipulating the Gyroid

Adjusting the z-slice position slider allows you to move through the gyroid, observing how its structure changes as you pass through different layers. The tiling period and grid resolution sliders control the periodicity and detail of the surface.

The animate z-sweep toggle and sweep speed slider allow for dynamic visualization of the gyroid's evolution as the slice moves.

Applications and Importance

Gyroids have applications in various fields, including materials science, where their unique properties make them ideal for creating new types of materials with specific characteristics. They also appear in biological systems, such as the structure of certain proteins.

Studying gyroids helps us understand complex geometric phenomena and can inspire innovative designs in architecture, engineering, and even art.

Frequently asked questions

What is a minimal surface?

A minimal surface is one that locally minimizes its area. In other words, it has zero mean curvature at every point, making it an equilibrium configuration under small perturbations.

Why are gyroids important in materials science?

Gyroids can be used to create new types of materials with unique properties, such as high surface area and specific optical or mechanical characteristics. Their complex structure allows for novel applications in various fields.

How do the tiling period and grid resolution affect the gyroid's appearance?

The tiling period determines how often the gyroid repeats its pattern, while the grid resolution affects the detail of the surface. Higher resolutions provide more accurate representations but may require more computational power.

What is the marching squares algorithm used for in this context?

The marching squares algorithm is a method to generate a polygonal approximation of an implicit function, which in this case helps visualize the 2D cross-sections of the gyroid by tracing its contours.

Try it live

Everything above runs in your browser — open Gyroid Cross-Sections (2D) and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Gyroid Cross-Sections (2D) simulation

What did you find?

Add reproduction steps (optional)