摘要
通过剖析Cantor三分集算法的实现,引入递归回溯法的思想,并利用这种思想逐一实现基于不同分叉树的算法。在充分地挖掘出分形树可加以控制的参数后对算法进行扩展,然后逐步模拟出更加理想真实的树,并且在分形树生成方法的基础上,提出并实现了一种简易的利用过程参数的方式来控制树的摇曳。
The fractal is an important branch of computer graphics, and it is usually realized through the recursion backtracking. This article analyzes the realization of the Koch fractal curve algorithm simply, introducing the thought of the recursion backtracking, and use such ideas to realize fractal tree's algorithm based on each kind of different bifurcation tree. In the process of algorithm's research, the authors fully dig the fractal tree which is controlled by parameters to expand the algorithm. During the process of melioration, more perfect and actual tree is simulated. Based on the fractal tree, this paper proposes and implements the tree sway which is controlled by the use of simple process parameters. In MFC platform, clear dialog is designed to input parameters in order to achieve the purpose of controlling the tree.
出处
《新余高专学报》
2007年第6期69-71,共3页
Journal of XinYu College