Tom Zahavy
← Home

COrigami

Combines reinforcement learning with Gemini to design origami crease patterns, using a semantic representation and visual feedback loop to fold arbitrary target shapes.

COrigami
Designed with COrigami, shaped and folded by Brandon Wong.

Origami is a uniquely constrained art form: every design must obey the mathematics of flat-foldability while still looking like the thing it depicts. COrigami is an end-to-end AI pipeline that tackles both at once, turning a natural-language prompt into a crease pattern that genuinely folds.

By pairing algorithmic optimisation with an autonomous aesthetic critic and optimising it with RL, the system acts as a collaborative assistant — it produces mathematically sound starting points that human artists can expand and shape into a finished, physical model.

How it works

  1. 1

    Semantic stick figure

    Gemini turns a natural-language prompt into an abstract, structured description of the subject — its parts and proportions.

  2. 2

    Base packing

    The stick figure is packed into a base that allocates a region of paper to each limb, flap, and appendage.

  3. 3

    Flat-foldable solving

    A solver searches for a crease pattern that provably folds flat, satisfying origami's rigid geometric constraints.

  4. 4

    Shaping

    The flat-folded base is shaped into a recognisable three-dimensional form.

  5. 5

    Aesthetic RL loop

    A reinforcement-learning loop refines the design, guided by an autonomous critic that scores how good the result looks.

COrigami pipeline for Gecko, Peacock, and Beetle models: stickfigure, packing, solving, simulation, RL shaping, and designer shaping
From semantic stick figure to physical model — packing, solving, simulation, RL shaping, and a designer's final shaping, shown for a gecko, a peacock, and a beetle.

Gallery

Models COrigami designed, folded from its generated crease patterns.

Peacock
Moorish Gecko
Wyvern
Mantis
14 of 15

Learn more from origami designers

COrigami was made possible by the origami designers and artists whose craft, crease patterns, and feedback guided this work.

Fold it yourself

An interactive simulator for one of the generated crease patterns — drag to rotate, and use the slider to fold and unfold.

Open fullscreen ↗