中文说明:应用背景%的IFS(n,旗)由 构造分形图;%的原则(IFS迭代函数系统)。%%它情节N单点根据变换这是随机选择的一组固定的变换。关键技术%集由标志值的确定:%旗= 0结果在Sierpinski三角形;%旗= 1绘制科赫曲线;%旗= 2显示一个分形树;%旗= 3返回一个分形farn叶;%否则圣诞树的构造。%%的IFS(N)得出N点电场叶。%% IFS绘制与N = 500000点farn叶。
English Description:
Application background% IFS(N, FLAG) constructs a fractal picture by the % principle of a IFS (iterated function systems). % % It plots N single points according to a transformation % which is chosen randomly of a fixed set of transformations. Key Technology% The set is determined by the value of flag: % flag = 0 results in the Sierpinski triangle; % flag = 1 draws the Koch curve; % flag = 2 shows a fractal tree; % flag = 3 returns a fractal farn leaf; % otherwise a christmas tree is constructed. % % IFS(N) draws the farn leaf with N points. % % IFS draws the farn leaf with N = 500000 points.