透過您的圖書館登入
IP:18.219.215.178
  • 期刊

Approximating Chinese Character Pattern with Genetic Algorithm

摘要


The beauty of algorithms is a type of aesthetics that is beyond the emotional expression of the colors on paint brushes. In this paper, the research is accomplished through a coding program of Python to focus on approximating the selected Chinese character pattern, represented by two dimensional binary matrices, through generations of evolutions. The implementation of Chinese character is creative by combining technology with Chinese heritage, the character. How the technology is able to generate man-made characters through coding? The known steps of the Genetic Algorithm are the Initiation of population, Mutation, Selection and Crossover. Evolution is conducted on generations of populations, in which are candidate patterns, and the learning process can be tuned with multiple parameters including the mutation rate, the mutation fraction, the maximum generations and the population size. In addition, random immigrants are further introduced when the optimization score is not improving. When the process is successful, the result shows the best fitness score of 1.0, which implies 100% of similarity between the target Chinese character pattern and generated pattern. The algorithm is able to converge despite the grid size, and other setup of parameters including maximum generations, mutation rate, population numbers, etc. Above all, the rules of Game of Life are introduced as another intriguing approach for generating patterns on top of the Genetic Algorithm but should only be considered as an alternative.

參考文獻


Heidarpour, M., & Hoseini, S. M. (2015) Generating art tile patterns using genetic algorithm. 2015 4th Iranian Joint Congress on Fuzzy and Intelligent Systems (CFIS).
Wolfram, S. (2002) A new kind of science. Wolfram Media.
Eiben, A. E., & Smith, J. E. (2007) Introduction to evolutionary computing. Springer.
Toffoli, T., & Margolus, N. (1993) A Cellular automata machines: a new environment for modeling. MIT Press,
Alfaro, H. (1970) Generating Interesting Patterns in Conway ' s Game of Life Through a Genetic Algorithm Semantic Scholar.

延伸閱讀