The Sierpinski gasket is a mathematical fractal constructed by repeatedly cutting the middle out of each triangle. Or, more akin to crystal growth, it may be generated by starting with a layer of 0′s with a single 1, then building new layers by placing a 0 above and between each pair of identical bits, while placing a 1 above and between each pair of differing bits.