Implementation of Koch Curves Based on Html5 <canvas>
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.
KeywordsKoch 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.Mandelbrot, B. B. (1982). The fractal geometry of nature. San Francisco: Freeman.Google Scholar
- 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.Zhiying, W. (2000). Mathematical foundations of fractal geometry. Shanghai: Shanghai Scientific and Technological Education Publishing House.Google Scholar