The Mathematics of Origami: How Paper Became a Substrate for Computation

The 1990s discovery that origami is computationally hard — that determining whether a crease pattern can fold flat is NP-complete — turned a children's craft into a substrate for serious mathematics. The applications now include space telescopes, heart stents, and self-folding robots.

For most of its history, origami was a children's craft and a Japanese art form. The transition to serious mathematics happened in the late 20th century, when a small group of researchers — most notably Robert Lang, Erik Demaine, and Tomohiro Tachi — began asking the questions that turn any craft into a science. Given a crease pattern, can you fold it flat? Given a flat shape, can you fold it from a square? What is the most efficient way to encode a structure in folds? The answers turned out to be deep, the proofs hard, and the applications wider than anyone working in the field in 1990 would have predicted.

This is the story of how origami became computation, and what we got out of treating paper as a substrate for serious math.

The flat-foldability problem

The first deep result was negative. In 1996, Marshall Bern and Barry Hayes proved that determining whether an arbitrary crease pattern can fold flat is NP-complete. The reduction was from 3-SAT, the canonical hard problem in computer science, and the construction translated each Boolean clause into a small piece of crease pattern that could only fold flat if the clause was satisfiable.

This was a striking result for two reasons. The first was practical: it meant that no general-purpose origami solver could exist that ran in polynomial time, no matter how clever. The second was philosophical: it showed that origami, which feels like a continuous geometric problem, actually contains discrete combinatorial structure as deep as the deepest problems in theoretical computer science. Paper folding was Turing-equivalent in a precise sense.

For specific subclasses of crease patterns — single-vertex flat-folds, for instance, where all creases meet at one point — flat-foldability is decidable in polynomial time. The single-vertex case is governed by two beautiful theorems. Maekawa-Justin's theorem says that the number of mountain folds and valley folds at any flat-foldable vertex must differ by exactly two. Kawasaki's theorem says that the alternating sum of the angles around a flat-foldable vertex must equal zero (or equivalently, that the angles alternate to sum 180° on each side). These theorems are taught to undergraduates and are usually their first taste of the surprising depth of folding mathematics.

Robert Lang and TreeMaker

The next breakthrough was algorithmic rather than complexity-theoretic. Robert Lang — a former laser physicist who left a career at NASA and HP Labs to work full-time on origami — developed a method called the circle-river method in the early 1990s, which he later codified in software called TreeMaker.

The idea was that any origami subject can be represented as a stick figure, with limbs and a body. Each limb in the stick figure corresponds to a "flap" in the folded model, and each flap requires a certain amount of paper at the edge of the square. Lang showed that you could pack circles representing the flaps onto the square of paper, with the circles' radii proportional to the flap lengths, and that any valid packing produced a foldable crease pattern. The "rivers" between circles became the body and connecting structures.

This was a constructive method: given a desired stick figure, the algorithm produced a crease pattern that would fold to it. Lang used it to design origami models of unprecedented complexity — a praying mantis with anatomically correct legs, a deer with antlers, a violinist holding a violin. The models were not just stunts; they demonstrated that origami had moved from intuition-driven craft to algorithm-driven engineering. Anyone with TreeMaker could design any subject.

The fold-and-cut theorem

One of the most beautiful results in computational origami is the fold-and-cut theorem, proven in 1998 by Erik Demaine, Martin Demaine, and Anna Lubiw. It says: given any polygon (in fact, any union of polygons) drawn on a piece of paper, there exists a sequence of flat folds such that a single straight cut produces exactly that polygon.

The simple cases — fold the paper in quarters and cut a single triangle — produce a four-pointed star. The deep cases produce arbitrary shapes. Houdini reportedly used a special case of the theorem in his stage shows, folding paper and cutting it to reveal a five-pointed star. The general theorem says that the trick generalizes to any shape: a complete swan, a working letter of the alphabet, the outline of any country.

The proof is constructive: it builds a fold pattern from the perpendicular bisectors of the polygon's edges and the angle bisectors at its vertices, in a way that lines up all the polygon's edges along a single straight line that the cut then severs. The result is a cut polygon and a cloud of paper scraps. The construction is algorithmic, and there is software that takes a vector drawing as input and outputs the fold pattern.

The Miura fold and the deployment problem

The application that took origami from mathematics to engineering was the deployment of large structures from compact stowage. The Miura fold, designed by Japanese astrophysicist Koryo Miura in the 1970s, is a tessellation of parallelograms that allows a flat sheet to be deployed and retracted by a single motion. Pull on opposite corners and the entire sheet unfolds. Push them together and it collapses.

The Miura fold has been used in solar panel arrays for satellites since the 1990s. Its most ambitious application was the Eyeglass space telescope project at Lawrence Livermore National Laboratory in the 2000s, which proposed a 100-meter optical telescope whose primary lens would be a Miura-folded thin film. The lens would launch in a folded configuration small enough to fit in a rocket payload, then deploy in orbit to its full diameter.

The medical analog is Zhong You's heart stent at Oxford, which uses a fold pattern based on a different origami waterbomb base. The stent is small enough to be threaded through a blood vessel in folded form, then expanded at the target site by a balloon. The fold pattern is what determines whether the expansion is uniform and whether the deployed structure has the right mechanical properties to resist re-collapse.

Curved creases and the frontier

The origami most people learn uses straight creases. The folding mathematics most people see is for straight-crease patterns. But paper does not care whether creases are straight, and curved-crease origami, pioneered by Ron Resch in the 1960s and developed mathematically by Erik Demaine and others starting in the 2010s, produces structures that no straight-crease origami can.

The mathematics of curved creases is genuinely harder. A straight crease is a one-parameter object: it has a position and a fold angle. A curved crease is a continuous family of creases, each with its own fold angle, and the constraint that the surrounding paper remains a physical surface (developable, in differential geometry terms) is a partial differential equation.

Curved-crease origami has produced shapes that look like sculpture: the spiral pleat, the hyperbolic paraboloid, the morphing surfaces that change shape continuously as a single parameter is varied. The structures are studied in architecture (for tensile facades), in materials science (for self-folding films), and in art for their own sake. The mathematics is closer to the geometry of soap films than to the combinatorics of straight creases.

Self-folding and the future

The most ambitious current research is in self-folding origami: structures that fold themselves in response to a stimulus like temperature, light, or chemical environment. The 2014 paper by Daniela Rus and her colleagues at MIT demonstrated a robot that started as a flat sheet and folded itself into a walking machine in four minutes when placed on a heated surface. The fold pattern was designed using origami algorithms, and the actuation was a shape-memory polymer that contracted along pre-printed crease lines.

The applications are still mostly in research labs, but the long-term implications are large. A self-folding origami structure can be manufactured flat, which is the cheapest manufacturing process, and then deployed into a complex three-dimensional shape on demand. This is the shape of a possible future for solar panels, surgical instruments, deployable shelters, and structures we have not yet imagined.

The deeper lesson

What the mathematics of origami shows is that the complexity of the world rewards careful study of even the simplest substrates. Paper has been folded for at least 1500 years. The mathematics of folding has been studied seriously for thirty. In those thirty years it has become a discipline that intersects with computer science, mechanical engineering, materials science, architecture, and pure mathematics, with applications from space telescopes to surgical robots.

The lesson generalizes. There are other simple substrates whose mathematics is probably similarly deep and similarly underexplored. Knot theory was a fringe topic for a century before it found applications in DNA topology and quantum computing. Tilings of the plane were a recreational topic before they connected to crystallography and quasicrystals. The mathematics of simple things, taken seriously, has a way of becoming the mathematics of complex applications. Origami is one of the cleanest examples we have, and it is still unfolding.

Read more