Painting objects with Mondrian