作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2001, Vol. 27 ›› Issue (01): 125-127.

• 论文 • 上一篇    下一篇

以折线为母线的自相似分形图形的程序实现

张有会,李秀丽,王运格,李朝辉   

  1. 河北师范大学计算机系 石家庄 050016,石家庄市科技干部进修学院 石家庄 050031,河北师范大学计算机系 石家庄 050016,河北师范大学计算机系 石家庄 050016
  • 发布日期:2001-01-25

Programmatic Realization of Self-similar Fractal with Generation Lines Replaced by Polygonal Ones

ZHANG Youhui, LI Xiuli, WANG Yunge, LI Zhaohui   

  1. (Department of Computer Science, Hebei Teacher's University, Shijiazhuang 050016; Shijiazhuang College of Advanced Studies for Science & Technology Cadre, Shijiazhuang 050031 )
  • Published:2001-01-25

摘要: 自相似分形图形是分形图形的重要分支.以拆线为母线的自相似分形图形是自相似分形图形的主要组成部分.该文对传统的根据具体母线形状编程画图的方法加以改进,给出了用一个程序实现所有以折线为母线的自相似分形图形的作图方法,并编写出了实现该方法的源程序.源程序经编译连接形成可执行文件后,运行时只需在命令中给出母线数据,计算机便自动获取屏幕尺寸,确定图形大小和位置,然后将图形画出.

关键词: 分形, 折线, C语言, 程序设计

Abstract: Self-similar fractal is one of the most important branches of fractals. Self-similar fractals with generating lines replaced by polygonal ones is an important part of fractals. The paper is an improvement for the traditional method, which programs based on specified generating lines. It provides programs to draw plots for all self-similar fractals with generating lines replaced by polygonal lines. Computers can automatically seize the screen size, establish plot size and position, and then output the plots, after the source programs are,dited, linked, run provided that data for generating lines are given in the commands.

中图分类号: