logo

SCIENTIA SINICA Informationis, Volume 49 , Issue 2 : 159-171(2019) https://doi.org/10.1360/N112018-00212

Simulation of batik cracks and cloth dying

More info
  • ReceivedAug 5, 2018
  • AcceptedSep 25, 2018
  • PublishedFeb 18, 2019

Abstract


Funded by

国家自然科学基金(61163019)

国家自然科学基金(61540062)

国家自然科学基金(61662087)

国家自然科学基金(61462093)

云南省应用基础研究重点项目(2014FA021)

云南省教育厅科学研究基金产业化培育项目(2016CYH03)

云南省杰出(优秀)青年培育项目łinebreak(2018YDJQ016)


References

[1] Cai F L, Peng R, Yu J H. Analysis and synthesis of peking opera facial make-ups. J Comput-Aid Des Comput Graph, 2009, 21: 1092--1097. Google Scholar

[2] Cai F L, Yu J H. Modeling and editing of peking opera facial makeup expressions. J Image Graph, 2010, 15: 958--963. Google Scholar

[3] Li Y, Yu J, Ma K. 3D paper-cut modeling and animation. Comp Anim Virtual Worlds, 2007, 18: 395-403 CrossRef Google Scholar

[4] Min F, Sang N. An automatic generation method of multi-styles portraits based on the and-or graph representation. Chinese J Comput, 2009, 32: 1595--1602. Google Scholar

[5] Pu Y Y, Su Y, Wei X M, et al. System of line drawing for Yunnan heavy color painting. Comput Eng Des, 2011, 32: 607--610. Google Scholar

[6] Terzopoulos D, Platt J, Barr A, et al. Elastically deformable models. In: Proceedings of the 14th Annual Conference on Computer Graphics and Interactive Techniques, 1987. 205-214. Google Scholar

[7] Norton A, Turk G, Bacon B. Animation of fracture by physical modeling. Visual Comput, 1991, 7: 210-219 CrossRef Google Scholar

[8] Gobron S, Chiba N. Simulation of peeling using 3D-surface cellular automata. In: Proceedings of the 9th Pacific Conference on Computer Graphics and Applications, 2001. 338--347. Google Scholar

[9] Federl P, Prusinkiewicz P. Finite element model of fracture formation on growing surfaces. In: Proceedings of International Conference on Computational Science, 2004. 138--145. Google Scholar

[10] Wyvill B, Overveld K V, Carpendale S. Rendering cracks in batik. In: Proceedings of the 3rd International Symposium on Non-Photorealistic Animation and Rendering, 2004. 61--149. Google Scholar

[11] Ying Tang , Kuanjun Fang , Shaohai Fu . An improved algorithm for simulating wax-printing patterns. Textile Res J, 2011, 81: 1510-1520 CrossRef Google Scholar

[12] Li B J, Lv J. Simulation of batik ice cracks based on multi-level growth model. J Guizhou Univ (Natl Sci), 2014, 31: 88--91. Google Scholar

[13] Liu S, Chen D. Computer simulation of batik printing patterns with cracks. Textile Res J, 2015, 85: 1972-1984 CrossRef Google Scholar

[14] Morimoto Y, Tsuruno R, Tomimatsu K. Liquid penetration modeling for cloth dyeing. In: Proceedings of the 3rd Eurographics Conference on Computational Aesthetics in Graphics, Visualization and Imaging, 2007. 97--104. Google Scholar

[15] Morimoto Y, Ono K. Computer-generated tie-dyeing using a 3D diffusion graph. In: Proceedings of the 6th International Conference on Advances in Visual Computing, 2010. 707--718. Google Scholar

[16] Morimoto Y, Tanaka M, Tsuruno R, et al. Dyeing theory based liquid diffusion model on woven cloth. In: Proceedings of ACM SIGGRAPH, 2007. Google Scholar

[17] Morimoto Y, Tanaka M, Tsuruno R, et al. Visualization of dyeing based on diffusion and adsorption theories. In: Proceedings of Pacific Conference on Computer Graphics and Applications, 2007. 57--64. Google Scholar

[18] Liu S G, Chen G J, Yang P, et al. Realistic simulation of stains on cloth. J Comput-Aid Des Comput Graph, 2008, 20: 1110--1116. Google Scholar

[19] Yu Y T, Xu D. Computer-generated batik crack in real time. In: Proceedings of International Conference on Virtual Reality and Visualization, 2014. 146--153. Google Scholar

[20] Yu Y T, Yu Z L, Qian W H, et al. Visualization of batik cloth based on diffusion. In: Proceedings of International Conference on Virtual Reality and Visualization, 2016. 511--515. Google Scholar

[21] Yu Y T, Xu D. Research on batik crack rendering algorithm. J Graph, 2015, 36: 159--165. Google Scholar

[22] Yu Y T, Yu Z L, Qian W H, et al. Batik dying simulation based on diffusion. J Syst Simul, 2018, 30: 2117--2124. Google Scholar

[23] Qian W H, Xu D, Guan Z, et al. Simulating chalk art style painting. J Image Graph, 2017, 22: 622--630. Google Scholar

[24] Fick A. On liquid diffusion. J Membrane Sci, 1995, 100: 33-38 CrossRef Google Scholar

[25] Perlin K. An image synthesizer. In: Proceedings of the 12th Annual Conference on Computer Graphics and Interactive Techniques, 1985. 287--296. Google Scholar

  • Figure 1

    (Color online) Batik and it's visual characteristics. (a) Dai girl of batik in Yunnan; (b) visual characteristics of batik cracks; (c) visual characteristics of batik cloth

  • Figure 2

    (Color online) Generation flow of batik cracks

  • Figure 3

    (Color onine) Influence of new crack on distance

  • Figure 4

    (Color online) Method of getting next point and crack result. (a) Method of getting next point; (b) initial batik cracks; (c) cracks after treatment

  • Figure 5

    (Color online) Reason of too wide about crack line. (a) Normal line; (b) defective line

  • Figure 6

    (Color online) Influence of parameters to cracks. (a) Parameter of density; (b) reference width; (c) parameter of wiggle

  • Figure 7

    (Color online) Relationship of plr value and intersection. (a) plr = 0.1; (b) plr = 1; (c) plr = 1.3

  • Figure 8

    (Color online) Batik cloth model. (a) Three-layer model of cloth; (b) warp and weft; (c) overlapping of warp and weft

  • Figure 9

    (Color online) Adjacency coefficient

  • Figure 10

    (Color online) Rectangular weave and its simulation. (a) Magnifying cloth; (b) ellipse model of cloth

  • Figure 11

    (Color online) Execution time comparison of two algorithms. (a) Curve of FIT; (b) time complexity comparison

  • Figure 12

    (Color online) Two results of batik cracks rendering. (a) Simulating pattern of bowl; (b) simulating pattern of rooster

  • Figure 13

    (Color online) Different dyeing results of same pattern

  • Figure 14

    (Color online) Influence of wave length and persistance on dyeing. (a) Wavelength is 8; (b) wavelength is 64; (c) persistence is 0.2; (d) persistence is 0.8

  • Figure 15

    (Color online) Comparison of dyeing results. (a) Simulation of tie dye in Japan; (b) our result

  •   

    Algorithm 1 Flood identity transform (FIT)

    Initialize, age of the newest crack $c$ is recorded as $\lambda~(c)$, and all points in $c$ are pushed into FIFO queue qu.

    repeat

    Dequeue $p$, $p~=~{\rm~pop}(~{\rm~qu}~)$;

    for each $n~\in~N(p)$

    if $D(p)~+~|~{n~-~p}~|~<~D(n)$ then

    $D(n)~=~D(p)~+~|~{n~-~p}~|$; $\backslash\backslash$$N(p)$ is the adjacent point of $p$

    $\lambda~(n)~=~\lambda~(p)$;

    enqueue $n$;

    end if

    end for

    until queue qu is null;

    Stop.

  •   

    Algorithm 2 Cracks generate (CG)

    Initial point is generated with parameter of $\rho~(p)$ and using random method. From initial point, the seed point which has maximum local distance is searched;

    From seed point, crack is generated follow gradient and opposite direction, and generating is stopped when meets one old crack;

    Shape is modified and parameters are recorded, and noises are added with parameter of $w(p)$.

qqqq

Contact and support