Complexity and Diversity in Palladian Facades

This study presents an analysis of two aesthetic properties, complexity and diversity, in Palladian architecture. The former highlights the fractal dimension of façade geometry, and the latter its semantic randomness. Along with a methodological description and advice on settings, this study contributes to the discussion about mathematical beauty in architecture.


Introduction
Due to its geometric purity and consistency, Palladian architecture has been frequently explored using computational methods, most of which are focused on analysis and generation of plans (Lee and Ostwald 2020). Two exceptions are García-Salgado's (2008) and Fletcher's (2015) studies of the proportional characteristics of the Villa Rotonda's and the Villa Emo's facades, respectively. Eilouti (2008) also describes and generates Palladian façades using a formal language derived from a finite set of design elements (vocabulary). Other than these proportional and grammatical studies of Palladian elevations, few alternative methods have been used to examine their aesthetic properties. This research addresses this knowledge gap using two computational methods to measure aesthetic complexity and diversity in Palladian architec-ture. Across a series of applications of these methods to Palladian facades, this paper develops new mathematical readings of their aesthetic properties and compares two methods.

The Research
A common argument is that the beauty of Palladian architecture arises from a combination of its proportions, symmetry, rhythm, and harmony. Furthermore, in terms of visual stimuli, complexity and diversity have been identified in past research as strong determinants of architectural aesthetics (Stamps 2003;Lee and Ostwald 2023). As such, the present research employs two mathematical measures -complexity is 'the state of being complicated', while diversity is 'the state of being diverse' -to examine the visual character of Palladian architecture. This research adopts fractal dimension (complexity) and perplexity (diversity) measurements to calculate the aesthetic values.

Complexity
To statistically measure complexity in an image or object, fractal dimension analysis has been adopted in various domains including architecture (Lee and Ostwald 2023). Specifically, fractal dimension, "the relative density of geometric information" (Ostwald and Vaughan 2016, p. 3), is used to measure and compare 'architectural aesthetic character'. Likewise, as a significant predictor of beauty, it is used to quantify visual complexity in architecture (Lee and Ostwald 2023). Traditionally, the box counting method, a measure of the distribution of data in a set, has been widely used for this purpose. The fractal dimension (D) of an architectural façade image is: where N s is box count and s is box size. The final D is the slope of the trendline for the log-log plot of N s versus s. In this way, the D values of architecture are between 1 and 2, indicating the degree of complexity (Ostwald and Vaughan 2016). That is, a lower D indicates a less complex design, while a higher D, a more complex one. Past studies have identified different D ranges in a variety of architectural data. For example, the interquartile D range of the elevations of 85 canonical domestic buildings (designed or built in between 1901 and 2007) is from 1.3698 to 1.5104 (Ostwald and Vaughan 2016). Likewise, knowledge about the D range of a certain style of architecture can be used to examine the visual complexity of a design within such a style.
To develop D measures, image processing and setting parameters such as grid sizes and positions must be employed in a consistent way (Ostwald and Vaughan 2016;Lee and Ostwald 2023). For the present research, each façade is developed from the original elevation published in the Quattro libri' (Palladio 1570), although statues and their pedestals are not considered in this analysis. In addition, window and door frames are also simplified as a single line as illustrated in Fig. 1.
Using ImageJ with its plug-in (FracLac) for the fractal dimension analysis, the maximum size of a bounding box (bbox) -the smallest rectangle enclosing the pixelated part of an image -considers a resolution of 4096 × 4096 (2 12 × 2 12 ) pixels and the minimum grid size in Fig. 1 is 10 pixels. In contrast, this study tests several options for the box counting method in Table 1 because the D values may be dependent on the settings. Specifically, the golden ratio (ϕ) is used for one 'scaling coefficient' option because Palladian facades can be interpreted using it (Fletcher 2015).

Diversity
Diversity is "the quality or state of being composed of many different elements or types" (Merriam-Webster n.d.-b). Complexity is the state of having many different parts interrelated in a complicated way, while diversity is focused on the fact that a system contains many different elements. Avoiding 'monotony' and 'chaos', visual diversity is regarded as an architectural aesthetic variable (Stamps 2003). In particu- where p i is the probability of observing a specific event i. In architecture, the probability can be calculated by the frequency of a design component or element (Stamps 2003). As such, the H value can be regarded as the total volume of all possible information of identified design elements in a façade, highlighting a measure of 'uncertainty'. In contrast, the property of "perplexity", the exponential of H, is also used as a diversity index (Jost 2006). The perplexity (PP) of a probability distribution is: Theoretically, the perplexity of a probability distribution might be a better index for the diversity of a system, but the entropy itself is also a reasonable index of diversity (Jost 2006). Thus, the present research calculates both H and PP of Palladian architecture. Counting the frequency of a design element is essential for these diversity measures. Following Eilouti's (2008) language, the present research develops the vocabulary set for Palladian facades in Table 2. As illustrated in Fig. 2, design elements in a façade are encoded and the probability of each code in the information string is used to calculate the diversity indexes (H and PP).

Pilot Study
This study examines the complexity and diversity of three Palladia façades, Villa Emo, Villa Saraceno and Villa Pisani. As an example, the information string of design elements in the Villa Emo (Fig. 2) is: Thus, the PP value of this façade is: In this way, the entropy (H) values of the three villas are 3.2495, 3.4399, and 3.3927, and their diversity (PP) values are 9.5101, 10.8524, and 10.5028. Although the Villa Saraceno looks like the Villa Emo, being a one-storey building, it has the highest degree of diversity. In contrast, the Villa Pisani, has the largest number of design elements, but only the second level of diversity because many parts are repetitive. These results arise from the fact that diversity measures in architecture deal with sematic design elements rather than geometries. This study also tests box counting options for the complexity measure. Figure 3 describes the D results of the Palladia façades using these options. Regardless of the options, all results in the figure suggest that the Villa Pisani has the highest level of complexity, and the Villa Emo has the least level of complexity. However, when considering the standard errors of D results, the optimal settings are: • the maximum grid size being 25% of the bbox size, • 12 grid positions including four corners of the bbox, and.

Conclusion
This research reports the results of a comparison of two aesthetic properties of Palladian architecture -complexity and diversity. The twin methods provide an opportunity to understand the aesthetic character of Palladio's façades, as they relate to visual preferences and perceptions. Conceptually, complexity (D) is more like a geometric snapshot of a whole, while diversity (H or PP) is more like a sum of sematic parts. It might be intuitively assumed that a relationship exists between complexity and diversity, "more diversity, more complexity", however, the results of this study may better reflect a Gestalt principle, "the whole is other than the sum of the parts". Complexity may also be impacted by the strict axial symmetry of Palladian architecture. A future study will further test these hypotheses, providing new, mathematical insights into the character of Palladian architecture.