Implementation of Koch Curves Based on Html5 <canvas>

  • Zhengzhi XuEmail author
  • Youhui Su
Conference paper
Part of the Springer Proceedings in Business and Economics book series (SPBE)


With the development of modern science, fractal theory has been become as a significant branch of Mathematics. Fractal theory mainly reveals that macroscopic and microscopic phenomenon has a startling similarity to one another. Koch curve looking like snowflake is one of a typical and strict fractal pattern. For good performance, the report uses a recursive algorithm to implement Koch curve on web platform with <canvas> element.


Koch curve Fractal Recursive algorithm Html5 <canvas> element 



This work is supported by the Natural Science Foundation of Jiangsu Province (BK20151160), the Six Talent Peaks Project of Jiangsu Province (2013-JY-003), 333 High-Level Talents Training Program of Jiangsu Province(BRA2016275) and Undergraduate Training Programs for Innovation and Entrepreneurship of Jiangsu Province(XCX2017004).


  1. 1.
    Mandelbrot, B. B. (1982). The fractal geometry of nature. San Francisco: Freeman.Google Scholar
  2. 2.
    Milošević, N. T., & Ristanović, D. (2007). Fractal and nonfractal properties of triadic Koch curve. Chaos Solitons & Fractals, 34(4), 1050–1059.CrossRefGoogle Scholar
  3. 3.
    Qiu, W., An, N., & Qi, X. (2010). Research on Algorithms of Generating Koch Fractal Graph based on MATLAB. China University of Mining and Technology, Xu Zhou.Google Scholar
  4. 4.
    Zhiying, W. (2000). Mathematical foundations of fractal geometry. Shanghai: Shanghai Scientific and Technological Education Publishing House.Google Scholar
  5. 5.

Copyright information

© Springer International Publishing AG, part of Springer Nature 2018

Authors and Affiliations

  1. 1.School of Mathematics and Physics, Xuzhou University of TechnologyXuzhouChina

Personalised recommendations