# Research on the Design of Zhuang Brocade Patterns Based on Automatic Pattern Generation
## 1 Introduction  
Zhuang brocade is a traditional hand-woven fabric with distinctive characteristics of the Zhuang ethnic group in China and is one of the excellent intangible cultural heritages of China with a long history [1]. In the context of the multicultural and information-rich era, the issue of inheriting and innovating Zhuang brocade urgently needs to be addressed. For instance, there are challenges such as the difficulty in innovating broade patterns, the singularity of application forms, and the struggle to inherit and develop. Patterns are important parts of Zhuang brocade, with diverse patterns and distinctive organizational forms. However, the current methods of pattern extraction primarily rely on perceptual cognition and manual drawing, lacking efficiency and precision. This is not conducive to the inheritance and promotion of Zhuang brocade as an intangible cultural heritage. To improve work efficiency, it is necessary to use computers and modern information processing technology to replace manual work in extracting pattern features [2]. Introducing digitalization techniques to Zhuang brocade allows for the accurate extraction of pattern features by transforming traditional patterns into digital ones. It not only enables the digital preservation of the characteristics of Zhuang brocade patterns but also facilitates the inheritance and protection of intangible cultural heritage. Scholars have applied computer technology methods such as automatic pattern generation, big data mining, and 3D printing to the design of intangible cultural heritage products. This has provided insights and references for addressing the issues of inheriting and innovating Zhuang brocade patterns. For example, [PERSON] et al. [3] proposed an automatic generation system for baik pattern design, which is conducive to the dissemination and promotion of intangible culture such as batik. [PERSON] et al. [4] proposed an element extraction and classification method based on an intelligent convolutional neural network (CNN) torealize traditional pattern innovation using modern technology. [PERSON] et al. [5] utilized crawlers, algorithmic computing, and other means, based on big data mining, to extract and utilize the cultural elements of [PERSON]. [PERSON] [6] developed egg-carving cultural creative products based on the 3D printing technological innovation of the Internet of Things. From this perspective, combining heritage product pattern design with computer tech, notably auto-pattern generation, is key to innovation and inheritance and solving traditional design bottlenecks. Based on the above research background, this article focuses on the study of Zhuang brocade pattern design, specifically examining the features of color schemes, patterns, and organizational forms. It proposes a method for automatic pattern generation based on relative coordinates and regional content replacement. The research results realize the rapid generation of Zhuang brocade patterns and solve the problem of difficult pattern innovation. Furthermore, it also promotes the integration of Zhuang brocade patterns into practical applications, which plays an important role in the innovative inheritance of Chinese Zhuang brocade and the development of the non-heritage industry. The structure of this paper is as follows. The Section 2 briefly introduces the research status of the theory on automatic pattern generation technology and the extraction of pattern color, pattern, and organizational characteristics. The Section 3 constructs a feature dataset for Zhuang brocade patterns and designs algorithms for the extraction of pattern color, pattern, and organizational characteristics. In the Section 4, the extracted pattern colors, patterns, and organizational characteristics are encoded, the rapid automatic generation of patterns is achieved through regional replacement algorithms, and a similarity evaluation of Zhuang brocade patterns is conducted.