I’ve been doing some sketches in Processing recently. Most of them fall apart pretty quickly, because I am bad at math, but this one holds together okay:

Good ol’ triangles!

The sketch is running here: Trigami.