Paintings are composed by creating a serious of vertical/horizontal splits, then tapping/clicking and dragging to adjust split position. Then the created segments can be painted in the primary colours used by Mondrian in his work. Finally the painting can be hung in the virtual gallery
Storing the paintings as binary trees instead of images dramatically reduces the file size and render time. The json file used to store a painting is roughly 50x smaller than if it was stored as a png. This means that paintings can be loaded and rendered into the gallery almost instantly. Additionally, due to the fact the paintings are represented as blocks of colour rather than pixels they can be scaled up without pixelation.