code
代码说明:
1.实验目的:绘制分形图案并分析其特点。 2.实验内容:绘制Koch曲线、Sierpinski三角形和树木花草图形,观察这些图形的局部和原来分形图形的关系。 3.实验思路:利用函数反复调用自己来模拟分形构造时的迭代过程,当迭代指标n为0时运行作图操作,否则继续迭代(1. Purpose: Draw fractal patterns and analyze their characteristics. 2. Experiment: Draw Koch curve, Sierpinski triangle graphic flowers and trees, observe the relationship between the local and original graphics fractal graphics. 3. Experiment idea: using the function calls itself repeatedly to simulate the iterative process when the fractal structure, when the iteration index n is plotted 0:00 run, otherwise continue iterating)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!