Journal of System Simulation ›› 2018, Vol. 30 ›› Issue (6): 2117-2124.doi: 10.16182/j.issn1004731x.joss.201806015

• Orginal Article • Previous Articles     Next Articles

Batik Dying Simulation Based on Diffusion

Yu Yangtao1, 2, Yu Zhenlu3, Qian Wenhua2, Zhang Keshi2, Xu Dan2, *   

  1. 1. College of People's Armed Forces Education, Yunnan University of Nationalities, Kunming 650118, China;;
    2. School of Information Science and Engineering, Yunnan University, Kunming 650031, China;
    3. School of Resource and Environment, University of Electronic Science and Technology of China, Chengdu 611731, China
  • Received:2016-04-14 Revised:2016-08-04 Online:2018-06-08 Published:2018-06-14

Abstract: This paper presents a three-layer model which is composed of wax layer, warp layer and weft layer. The wax layer wraps warp and weft layer which overlap together. According to Fick's second law and considering dye's diffusion, absorption and supply, a differential equation is built to describe diffusion process and this equation is discretized. Porosity, tortuosity and neighboring coefficient are used in the equation. Rectangular weave is simulated by using ellipse-distance model and blurred in HSV color space. Simulation shows that the satisfactory visual effect which closes to real batik cloth is acquired by the method and the algorithm needs less computation.

Key words: three-layer model, Fick's second law;, differential equation, diffusion, HSV color space

CLC Number: