Representations To start out, we need some base representation types. The color mechanics are default-implemented. The overall theme of this example is to start off with sources that produce simple basic boxes, and then push them through stages that paint, join, flip, and embed them to form the paintings.
Joined boxes can also flip themselves.
All this can be done in either of two ways, horizontally or vertically. Change the color of any kind of Box . Combine two Boxes left-right, creating a new composite. Combine two Boxes up-down, creating a new composite. Wrap a Box inside a border, creating a new composite.