The sponge
A code picks the filled corners of a cube and grows it level by level, with fills, voids and exposed faces answered by closed formulas before a cube is built.

Read: The core, The Kronecker product, Parity, Pascal's triangle, The Menger sponge, Fractal dimension, Substitution tilings.