Mondrian Revisited: A Peek into the Third Dimension

Year: 2018 Authors: Martin Skrodzki; Konrad Polthier

Core claim

Mondrian-style axis-parallel partitions can be systematically related to KdTree geometry and generalized to arbitrary dimension.

Topics

Piet Mondrian, KdTree visualization, higher-dimensional generalization, computational geometry

Domains

computational geometry, data structures, higher-dimensional spaces, abstract painting, modern art, visual design

Methods

visual comparison, recursive partitioning, dimension-independent generalization

Media

oil on canvas, KdTree diagrams, 3D point-cloud renderings

Paper text

The text below is the locally extracted OCR/Markdown version of the paper. Raw PDF files remain local and are not published here.

Bridges 2018 Conference Proceedings

Mondrian Revisited: A Peek into the Third Dimension

Martin Skrodzki¹ and Konrad Polthier²

AG Mathematical Geometry Processing, Freie Universität Berlin, Germany ¹martin.skrodzki@fu-berlin.de, ²konrad.polthier@fu-berlin.de

Abstract

The artist Piet Mondrian (1872 – 1944) is most famous for his abstract works utilizing primary colors and axes-parallel black lines. A similar structure can be found in visualizations of the KdTree data structure used in computational geometry for range searches and neighborhood queries. In this paper, we systematically explore these visualizations and their connections to Mondrian’s work and give a dimension-independent generalization of Mondrian-like pieces.

The Artist Piet Mondrian and His Work

Pieter Cornelis Mondriaan was born on March 7th, 1872 in Den Haag. His father was principal of a protestant primary school in Amersfoort. At the Rijksacademie Amsterdam he studied painting and drawing from 1892 till 1897. In 1911, he moved to Paris, where he was influenced by Cubism. Starting from this stay in France he was known as Piet Mondrian. His first solo exhibition took place at Walrecht Gallery, Den Haag, in 1914. In 1920, the “De Stijl Manifesto on Literature” is written by the artist van Doesburg and signed — amongst others — by Mondrian. After 1922, Mondrian used only primary red, yellow, and blue against white and black. Gray becomes rare. Toward the end of the 1920s, Mondrian’s canvases tend to include fewer elements, notably in the diamond compositions of 1926–33. Mondrian died on February 1st, 1944 in Manhattan, New York. The preceding biographical information is taken from [4].

Mondrian’s oeuvre ranges from early impressionist drawings of landscapes, over cubist paintings, to neo-plasticistic pieces influenced by and influencing the “De Stijl” movement. His most prominent works are without doubt those utilizing only black, axes-parallel lines, as well as primary colors. Early studies for these start in 1910 [5, p.102] with the first characteristic painting in 1918 [5, p.107]. These pieces have inspired a multitude of products utilizing his designs. Available are for example flower vases¹, T-shirts², furniture³, jewelry⁴, and much more⁵. Even in theoretical computer science, Mondrian is present with his work. There exists a programming language called “Piet”, designed by David Morgan-Mar [1, pp. 6,7]. The input of the language is not a text file but a bitmap resembling the art of Piet Mondrian.

Despite the overwhelming reception of Mondrian’s work, he is a stranger to the Bridges community. In the archive [8], no publication is listed connecting the work of Piet Mondrian to mathematical concepts. This article aims to close this gap. We will not only connect the two-dimensional pieces of Mondrian with the concept of KdTrees from computational geometry [2], but also generalize this connection to arbitrary high dimension. Thereby, we continue our series of articles on generalization to higher dimensions [7, 6].

¹designisthis.com/blog/en/post/mondri-vase-frank-kerdil ²redbubble.com/de/shop/piet+mondrian+t-shirts ³pinterest.de/atijoumana/modern-furnituremondriande-stijl/ ⁴etsy.com/search/jewelry?q=mondrian ⁵ifitshipitshere.com/mondrian-inspired-products/

99

Skrodzki and Polthier

img-0.jpeg Figure 1: Piet Mondrian, “Tableau I”, 1921, oil on canvas, Collection Gemeentemuseum Den Haag (Left) and “Composition with Red, Yellow, and Blue”, 1928, oil on canvas, Collection Wilhelm-Hack-Museum, Ludwigshafen (Right).

img-1.jpeg

Tableau I, 1921

We will now present a piece of Piet Mondrian in greater detail, namely his painting “Tableau I” from 1921, see Figure 1. The following elaborations and construction could also be modified to fit “Composition with Red, Yellow, and Blue”, also given in Figure 1. Concerning “Tableau I”, the original piece measures and is located in the Collection Gemeentemuseum Den Haag. The almost quadratic image is very simply structured by several axes-parallel black lines. These create thirteen rectangles of various sizes. One of them is colored blue and is located to the lower left of the center of the painting. Because of this almost central position, the rectangle draws the attention of the recipient with its blue color being in contrast to the surrounding white rectangles. Only two more rectangles are drawn in color, one in the lower right corner of the image, drawn in bright yellow and extending in height from the lower corner to the middle of the image. The other colored rectangle is of very narrow height and was squeezed in the upper left corner, extending horizontally to the middle of the picture. The upper right corner is filled with a completely black rectangle, another small black rectangle is placed next to the yellow one. All remaining other eight rectangles are white. The three used colors, yellow, blue, and red, are very strong in the contrast to the “non-colors” black and white. The recipient remains puzzled concerning the question whether the white rectangles are actually painted equally to the black and colored ones or whether they are merely showing the white canvas in the background. Thereby, Mondrian achieves perspective in his otherwise flat and two-dimensional piece.

Mondrian himself elaborated on his work in his only explicitly autobiographical essay “Towards the True Vision of Reality” [4, pp. 338-341]. He states (italics by the author):

It took me a long time to discover that particularities of form and natural color evoke subjective states of feeling, which obscure pure reality. The appearance of natural forms changes but reality remains constant. To create pure reality plastically, it is necessary to reduce natural forms to the constant elements of form and natural color to primary color.

In the following, we will establish a striking visual connection between the works of Piet Mondrian and visualizations of the KdTree data structure from computational geometry.

Mondrian Revisited: A Peek Into The Third Dimension

img-2.jpeg

img-3.jpeg Figure 2: Recursively building a KdTree on eight points. The hyperplanes are shown in the first five figures, while the whole tree is shown in the last figure on the lower right.

img-4.jpeg

img-5.jpeg

img-6.jpeg

img-7.jpeg

The KdTree Data Structure

In this section we will give a brief introduction to the KdTree data structure. A more thorough description can be found in [2]. Given a finite point set , for , a KdTree is recursively defined. If is empty, or only contains one point, nothing is done. Otherwise, it is determined in which of the dimensions the points of have the largest spread. Call this dimension . Now the points are sorted according to their values on dimension , i.e., they are rearranged to such that . Consider the median according to this sorting, i.e., the point with index . Now, a hyperplane is introduced which splits the set into two subsets and with containing at most one more point than . The procedure is then recursively applied to and . An example for a KdTree building procedure is given in Figure 2.

The data structure of KdTrees is significant in the context of geometry processing, as it can be built fast and can also be used for range searches and fast neighborhood queries. More precisely, the following results hold:

Theorem 1. A KdTree for a set of points can be built in time , takes storage, and has an average query time of to find the closest neighbor from the to a given point .

A proof for the building time and memory consumption can be found in [2]. The average asymptotic runtime of neighborhood queries is proven in [3]. Despite its theoretical relevance, in this context, we are mostly interested in the visualization of KdTrees. The following section will elaborate on the connections between the work of Piet Mondrian and KdTree visualizations.

Skrodzki and Polthier

img-8.jpeg (a) A random point set of 15 points in .

img-9.jpeg (b) The corresponding KdTree on the point set.

img-10.jpeg (c) Randomly coloring the boxes with probability Figure 3: A Mondrian-like structure created from a two-dimensional point set utilizing KdTrees.

Two-dimensional Reproduction of Mondrian Pieces

In this section, we will discuss how to reproduce some of the paintings of Piet Mondrian utilizing the KdTree data structure presented in the previous section. The general idea is to pick a set of points and to build a KdTree on them. As a complete binary tree with nodes (both internal and leafs) has leafs, the corresponding KdTree visualization will contain hyperplanes and rectangles. We choose a probability and color each of the rectangles with probability . If a rectangle is to be colored, it is colored red, blue, or yellow with probability respectively. This yields a Mondrian-like structure on the bounding box of the points . For example, Figure 3 shows the essential steps of obtaining a Mondrian-like structure from a point set consisting of 15 points (Figure 3a), with their KdTree (Figure 3b), colored with probability (Figure 3c).

Restrictions in the Reproducibility

Given the process outlined above, a first question naturally arises: What structures can be obtained this way? Here, two main limitations have to be taken into account when trying to reproduce work of Piet Mondrian with the presented approach:

  1. The lines need to follow the recursive building strategy of the KdTree data structure. That is, a structure as given in Figure 4a cannot be realized utilizing KdTrees. Each line has to have an ancestor in the hierarchy, that is incident to exactly two lines of the current bounding box at this level. In the example of Figure 4a, this is not the case, as all lines are incident to only one side of the surrounding square. Indeed, Piet Mondrian included a corresponding substructure into some of his paintings. For example, the piece “Tableau II”, dating 1921-1925 [5, p.110], cannot be reproduced utilizing KdTrees (assuming the occurring black patches to be single connected rectangles).
  2. As the hyperplanes introduced by KdTrees always split the given point set at the median, there is at most a difference of one in the number of rectangles lying on either side of the hyperplane. This property is violated in some pictures of Mondrian, e.g. in “Composition with Yellow”, 1930, two rectangles on one side oppose six on the other. Unlike the first restriction, this problem can be overcome, though. As the number of points on each side of the hyperplane can vary at most by 1, we have to introduce auxiliary points on the border of the structure. These create rectangles without area, i.e. lines, that lie on the frame of the structure and can thus not be noted, see Figures 4b and 4c.

Mondrian Revisited: A Peek Into The Third Dimension

img-11.jpeg (a) A structure not realizable via KdTrees.

img-12.jpeg (b) A structure not realizable with a KdTree utilizing five leafs.

img-13.jpeg (c) Realizing the structure as KdTree by introducing the point in the lower right multiple times. Figure 4: A structure that cannot be realized utilizing KdTrees and a solution for non-balanced structures.

Mondrian-Like Reproduction of Tableau I

In this section we will describe how to reproduce Mondrian’s “Tableau I” utilizing KdTrees as introduced above. Given the dimensions of the original piece, we pick points from a rectangular region of width 43 and height 41. For the initial hyperplane, there are two possibilities. One can choose the horizontal line in the middle of the image or the vertical line towards the right of the image. As these are the only two lines connecting the borders of the painting, there are no more possibilities. As the horizontal line has six rectangles above and eight below, we pick it as first line and introduce the first point 1 here. Choosing the vertical line as first hyperplane would also work, but create a tree with many more auxiliary points, as it has four rectangles to its right, but ten to its left.

We proceed recursively by first introducing points above the line 1 and then below. For the second point, two vertical lines are splitting the rectangle above line 1 into two halves. Once more, we decide for the right vertical line as it has three rectangles both to the left and to the right. This process is continued until, above of line 4 (see Figure 5a) only one rectangle is left. We place a final point, , in this rectangle and continue on the other side of line 4. Having finished this process, we introduced 27 points, shown green in Figure 5a, with corresponding relation shown in the upper tree of Figure 5b.

As a KdTree has to be balanced, we introduce several auxiliary points on the top left corner of a rectangle to ensure the correct placing of hyperplanes when following the KdTree procedure. In Figure 5a, we show the auxiliary points in magenta with the number of points at this location noted next to the point.

Generalization to Three-dimensional Mondrian Sculptures and Beyond

Having introduced the technique of creating Mondrian-like images from KdTrees in the previous section, we will now generalize to higher dimension. Observe that the data structure of KdTrees is not limited to two-dimensional data sets, but can be applied in arbitrary (finite) dimension. Thus, a point set in a -dimensional space gives rise to a -dimensional Mondrian-like structure.

Several artists have created three-dimensional sculptures that are inspired by Piet Mondrian. Some are rendered or animated utilizing graphics software, others are built physically. However, none of them is created in a systematic way as presented in this paper.

Skrodzki and Polthier

img-14.jpeg (a) Reproduction of “Tableau I” with the points for the rectangles shown in green, hyperplanes in bold black, and auxiliary points with the corresponding number of points shown in magenta.

img-15.jpeg

img-16.jpeg (b) The resulting trees for the reproduction of “Tableau I”: On top the tree with points to create the rectangles and hyperplanes; below a corresponding balanced KdTree with auxiliary points. Figure 5: Reproduction of “Tableau I” as a KdTree with the corresponding tree.

We start our exploration of three-dimensional Mondrian-like sculptures by picking 15 points randomly from the unit-cube in . Then, we follow the KdTree procedure as introduced above and draw a frame around the bounding box of the points and the boxes created as KdTree regions. The resulting frame with the points is shown in Figure 6a. As reasoned above, a KdTree on 15 points has eight leafs, i.e. eight boxes. We color each box with a probability of and obtain a sculpture shown in two perspectives in Figure 6b.

Note that, by our design process, any axes-parallel two-dimensional view of a three-dimensional Mondrian-like sculpture gives rise to a two-dimensional Mondrian-like image. This is exemplified in the front-, right-, and top-view of the created sculpture show in Figure 6c, 6d, and 6e. Because the points have been drawn from the unit-cube randomly, the resulting images are not squares, but rectangles.

We continue our exploration of the created shape space by systematically varying the two possible parameters. First, we work on a point set consisting of 15 points in . On these, we build the corresponding KdTree and visualize it with different probabilities of its boxes to be colored. A corresponding series of images is shown in Figure 7.

img-17.jpeg (a) Frame and Points

img-18.jpeg (b) First Perspective

img-19.jpeg (c) Left View of (b) (d) Bottom View of (b) Figure 6: Three-dimensional Mondrian-like sculpture on 15 points colored with probability .

img-20.jpeg (d) Bottom View of (b)

img-21.jpeg (e) Top View of (b)

Mondrian Revisited: A Peek Into The Third Dimension

img-22.jpeg (a)

img-23.jpeg (b)

img-24.jpeg (c)

img-25.jpeg (d)

img-26.jpeg (e)

img-27.jpeg (f)

img-28.jpeg (g)

img-29.jpeg (h) Figure 7: Visualization of the same KdTree on 15 points in . The coloring probability grows from left to right in both rows. Starting at , it grows with step size 0.1 until it reaches in the lower right picture.

img-30.jpeg (i)

img-31.jpeg (j)

A second parameter to alter is the number of points used. Therefore, we fix a coloring probability . Then, we randomly create point sets of different sizes from the unit-cube in and visualize the corresponding KdTree. A series of images depicting this variation is shown in Figure 8.

Technically, the structure of KdTrees is not bound to dimensions 2 or 3. Thus, sampling a unit-cube randomly in and building a KdTree on the sampling gives rise to a -dimensional Mondrian-like structure. In order to visualize these structures for , a possibility is to visualize three-dimensional sections of the four-dimensional Mondrian-like structure. The exploration of this direction is left as future work.

Even though we call our sculptures “Mondrian-like”, not all of them directly remind of pieces by Piet Mondrian. In fact, the proportions of the rectangles in the works of Mondrian seem all carefully chosen. Our approach however uses uniformly distributed random point clouds which can only create proportions resulting from their distribution. These are not similar to those of Piet Mondrian. Further research is necessary in order to tailor a probability distribution for the points that faithfully reconstructs the proportions utilized by Mondrian. Also, we did not take into account the existence of black rectangles, see Figure 1. As for the distribution of points, also the probability of coloring has to be carefully tailored to mimic Piet Mondrian better. This is also left as further research.

Acknowledgments

The authors thank the Gemeentemuseum Den Haag and the Sammlung Wilhelm-Hack-Museum Ludwigshafen for their kind permission of reproducing works in this article. This research was supported by the DFG Collaborative Research Center TRR 109, ‘Discretization in Geometry and Dynamics’ and the German National Academic Foundation.

Skrodzki and Polthier

img-32.jpeg (a)

img-33.jpeg (b)

img-34.jpeg (c)

img-35.jpeg (d)

img-36.jpeg (e)

img-37.jpeg (f)

img-38.jpeg (g)

img-39.jpeg (h)

img-40.jpeg (i)

img-41.jpeg (j)

img-42.jpeg (k)

img-43.jpeg (1)

img-44.jpeg (m)

img-45.jpeg (n)

img-46.jpeg (o) Figure 8: Visualization of different KdTrees for growing point sets in . The number of points in the set grows from left to right in all rows.

References

[1] G. Cox and C. A. McLean. Speaking Code: Coding as Aesthetic and Political Expression. MIT Press, 2013. [2] M. de Berg, O. Cheong, M. van Kreveld, and M. Overmars. Computational Geometry. Algorithms and Applications. Springer, 2008. [3] J. H. Friedman, J. L. Bentley, and R. A. Finkel. “An Algorithm for Finding Best Matches in Logarithmic Expected Time”. ACM Transactions on Mathematical Software, 3.3:209-226, 1977. [4] H. Holtzman and M. S. James. The New Art – The New Life: The Collected Writings of Piet Mondrian. Thames and Hudson, 1986. [5] M. G. Ottolenghi. L’opera completa di Mondrian. Rizzoli Editore, 1974. [6] M. Skrodzki and K. Polthier. “Turing-Like Patterns Revisited: A Peek Into The Third Dimension”. In Bridges Conference Proceedings, Waterloo, Canada, Jul. 27-31, 2017, pages 415-418. http://archive.bridgesmathart.org/2017/bridges2017-415.pdf. [7] M. Skrodzki, U. Reitebuch, and K. Polthier. “Chladni Figures Revisited: A Peek Into The Third Dimension”. In Bridges Conference Proceedings, Jyväskylä, Finland, Aug. 9–13, 2016, pages 481–484. http://archive.bridgesmathart.org/2016/bridges2016-481.. [8] The Bridges Archive. http://archive.bridgesmathart.org/. Accessed: 2018-01-23.

0 items under this folder.