Second-Order Cellular Automata as Textile Design Elements

Year: 2023 Authors: Anna M. Chupa; Michael A. Chupa

Core claim

Second-order cellular automata can produce naturalistic visual motifs that integrate effectively with photographic bark imagery in quilt-based textile design.

Topics

second-order cellular automata, textile composition, biomorphic imagery, digital quilting

Domains

cellular automata, discrete dynamics, weighted neighborhood rules, textile art, surface design, quilting, digital printmaking

Methods

weighted 5-neighborhood rules, color lookup mapping, photographic compositing, free-motion quilting

Media

digital textile prints, cotton fabric, metallic thread, sycamore bark photography, Birch bark imagery

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 2023 Conference Proceedings

Second-Order Cellular Automata as Textile Design Elements

Anna M. Chupa¹ and Michael A. Chupa²

¹Art, Architecture and Design, Lehigh University; anna.chupa@lehigh.edu

² Anna Chupa Designs LLC; chupa@acm.org

Abstract

We present initial examples of a body of textile works compositing visualizations of 1D Second-order Cellular Automata with biomorphic elements. The composited imagery is rendered to digital textile prints, and is further enhanced with freehand quilting. These compositions illuminate the naturalistic elements of the cellular automata, as well as the mechanistic elements of the natural forms.

Background

Our previous contributions to Bridges [1] have included photographic elements of natural forms and one-dimensional first-order cellular automata (CA) visualizations [2] incorporated into textile artworks. Given the primary author’s interest in incorporating biomorphic forms into her work, we identified examples of second-order CA evolutions that provide convincing mimicry of natural forms. Since this project has at its core the composition of natural forms from photographic imagery, we also included the selection of a limited palette of colors available to the CA imagery. These were drawn from colors present in the photographic imagery to provide digital imagery compatible with the composited photography.

Mathematical Method

Our second-order CA uses elements from two previous generations (i - 1, i - 2, see Figure 1) to compute an element (i, j) of the current generation.

img-0.jpeg Figure 1: Our general 2nd-order CA template, showing the elements used to generate , the (i, j)th element. The numbers shown in generations i - 2 and i - 1 are weights used to scale those elements’ contributions to sum1 and sum2.

In our examples, we have further set the following attributes:

  • Spatial 5-neighborhood: Only elements with second indices , and are used to compute an element .
  • Element 5-valued: Element values are restricted to integers in . In visualizations of the CA evolution, these values are mapped to five distinct RGB colors as in Figure 2 below.

Chupa and Chupa

These colors were chosen to be harmonious with the photographic imagery selected for the final composition.

  • Totalistic: A weighted sum of contributions to an element’s value is used from generations and . This sum depends upon contributors’ values and positional weights (symmetric left-right).
  • Bounded above: Since our choice of computation for the CA can result in values outside the range , we arbitrarily set those cell computations to the value 4.

img-1.jpeg Figure 2: Color Lookup Table used for mapping element values to RGB pixel colors.

In choosing the weights applied to each element of the 5-neighborhoods in the previous two generations, a physical heuristic was applied such that elements closer (in both space and time) to an element being computed were weighted more heavily. The rules array was chosen arbitrarily via experimentation to provide both visual interest and a degree of biomimicry when juxtaposed with the photographic imagery selected for the composition. The pseudocode below demonstrates the computation of an element using our ruleset and weighted sums over the 5-neighborhoods in the previous two generations. Note that in this example, the rules array and our computation of totSum results in values in the set , which eliminates the color table index 1 color—this shade was determined to be objectionable during experimentation.

rules  $= [0,3,2,3,0,0,0,4,4]$
sum1  $\equiv$  ca[i-1][j-2]  $+2$  \* ca[i-1][j-1]  $+4$  \* ca[i-1][j]  $+$  2\* ca[i-1][j+1]  $^+$  ca[i-1][j+2]
sum2  $\equiv$  ca[i-2][j-1]  $+2$  \* ca[i-2][j]  $^+$  ca[i-2][j+1]
totSum  $=$  rules[sum1//5]  $^+$  rules[sum2//2]
if (totSum<5): ca[i][j]  $=$  totSum
else: ca[i][j]  $= 4$

To generate our CA visualization, we seed the first two generations with random values in the set , and begin computing new generations at . The Python implementation of our method uses the sys, math, random, svgwrite, and PIL libraries, and we used PIL’s PNG output capabilities to render the CA visualization.

Compositing and Quilting

A cropped photographic image of sycamore bark was layered in an image editor on top of a cropped selection chosen from the CA rendering. These cropping decisions were purely aesthetic, rather than rule

Second-Order Cellular Automata as Textile Design Elements

based. This contrasts with the semi-random CA knitting machine constraints of the Matsumoto, Segerman and Serriere mirror condition of Mobius scarves [3] and the Le Feijs and Toeters Pied-de Poule family of patterns [4].

Each decision in the image composition process is painterly and contingent upon the previous action. A luminosity mask on the sycamore layer allows the underlying CA layer to be revealed where the sycamore layer is in shade. Additional reveals are added to the mask for a better overall balance. With further editing of the transparency mask the juxtaposition of the layers is fine-tuned to make the linear elements cohesive (Figure 3a-d).

img-2.jpeg (a)

img-3.jpeg (b)

img-4.jpeg (c)

img-5.jpeg (d) Figure 3: (a) Luminance mask, (b) Unedited photograph with masked darks, (c) cropped CA output, (d) Final composite.

The image was digitally printed onto cotton fabric and free-motion quilted on a longarm quilting machine. The dark grey fields of the CA output were quilted with a metallic grey thread and the lighter passages of the sycamore bark were quilted with a gold metallic thread. The final quilted work is shown in Figure 4. Figure 5 shows a related work with second-order CAs composited with Birch bark imagery.

img-6.jpeg Figure 4: Second-order CA Sycamore quilt (left) and detail (right).

img-7.jpeg

Chupa and Chupa

img-8.jpeg Figure 5: Second-order CA Birches quilt (left) and detail (right).

img-9.jpeg

Summary and Conclusions

Biomorphic forms are juxtaposed with second-order cellular automaton renderings in five colors sampled from the original photography. Exploration with metallic thread during the quilting process provided another level of quilted depth and contrast with the CA and photographic content. Future work will explore variations in the scale of the CA element size relative to photographic features.

Acknowledgements

This work was supported by Lehigh University’s Office of Research and Graduate Studies, College of Arts and Sciences, and the Department of Art, Architecture and Design.

References

[1] A. Chupa and M. Chupa. “Florautomata|Faunautomata.” Bridges Conference Proceedings, Linz, Austria, Jul. 16–20, 2019, pp. 533–536. https://archive.bridgesmathart.org/2019/bridges2019-533. [2] S. Wolfram. A New Kind of Science. Wolfram Media, Inc., 2002. pp. 55-56. [3] E. Matsumoto, H. Segerman, and F. Serriere. “Mobius Cellular Automata Scarves.” Bridges Conference Proceedings, Stockholm, Sweden, Jul. 25-29, 2018, pp. 523-526. https://archive.bridgesmathart.org/2018/bridges2018-523. [4] L. Feijs and M. Toeters. “A Cellular Automaton for Pied-de-poule (Houndstooth).” Bridges Conference Proceedings, Waterloo, Ontario, Canada, Jul. 27–31, 2017, pp. 403–406. https://archive.bridgesmathart.org/2017/bridges2017-403.

0 items under this folder.