Geometric restraints analysis and constrained optimization algorithms are used to obtain general kirigami patterns that deploy into any two- or three-dimensional shape. See Choi et al. IMAGE: Gary P.