Paul Hanakata · Project
Kirigami designs written as one line of text, simulated by an open engine, and usable by researchers and AI agents alike.
P5x45S1/2O0[V42@0,0]N18E3 → the classic alternating-slit sheetKirigami turns a flat sheet into something that stretches, twists, pops up or snaps, just by cutting it. But designs are shared as figures, one-off parameters or cut files with hundreds of coordinates, so they are hard to compare, reuse or collect into data sets.
A crystal is a lattice plus a basis. A KiriSMILES string is a lattice plus a motif of cuts, or pieces combined by mirrors, inversions and repeats. Every string maps to one finite pattern, is checked before anything is cut, and gets a canonical identity, so the same design written two ways is recognised as one.
Motifs can be grouped into supercells: below, four slits A–D as one cell, and a pitch cell (A) and a roll cell (B) in a 2 × 2 layout.
Each string becomes a finite element mesh, solved with FEniCSx (a Föppl–von Kármán plate and a Kirchhoff–Love shell) through buckling and large rotations. Pull the sheet and a cut cell pitches, rolls or yaws.



Cells joined in series carry the same force, so the softest moves first. In the [A, B; B, A] sheet the roll cells (B) turn first; the pitch cells (A) wait until about 7% stretch, then tilt to 36° while B reaches 67°. The order is set by the cuts, which opens a route to programmed sequences.


Notation, solver, job queue and a results database indexed by design identity. Researchers use a web app, the command line or Python; AI agents such as Claude use the same tools through an MCP server: write a design, check it, preview it, simulate it, export laser-cut files. Designs also export to MuJoCo for robot simulation.
During my PhD and postdoc I wanted to solve the inverse design problem of kirigami: from a target behaviour back to the cuts. Writing the code was the bottleneck. Building KiriSMILES with an AI coding assistant changed that, and I hope it becomes a common language for kirigami and a testing ground for AI agents that design materials.