I've often thought that this sort of thing would be great for user interface design. "Recursive drawing" in combination with a CAD style constraint system would be really cool to see. My preferred name for such a system would be "inductive constraint layout".