To create this fractal design, you start with a base shape, as a list of faces. In this case, the design started with a tetrahedron but there is no reason one couldn’t change to a more complex shape. Then, one can iterate through all of the faces of the shape and partition each face into several smaller faces.