搜索资源列表
mycdc
- 用VC编制函数图形的显示类.在某些工程应用系统中常要对已知的表达式求出其图形,只能应用VC对这些函数进行二维或三维的显示,本代码就是将显示的图形进行类的编制,使绘图变得轻松
FractalTerrain
- 二维的分形地形可以由一维分形曲线推广得到,首先介绍下一维分形曲线的构造模型。 已知初始线段的两个端点 ,通过随机扰动线段的中点来完成一次迭代,公式为 : 其中roughness控制当前层次的扰动量,它可以决定每次循环中,随机数值域的减少量,就是说它决定了分形结果的粗糙程度。令 上式是分形曲线模型的一般表达式,其中采用均值为0,方差为1的正态分布函数产生随机数,随着分割层次的增加,当前扰动量将以pow(2.0,-h)的倍数逐步的衰减,直到到达给定的分割层次或者被
SymbolicDifferentiation
- 这是在codeproject下的老外的代码,没有工程文件(dsw、dsp),但有demo演示。对输入的函数(如log(x),sign(cos(x)))都能在直角坐标系上画出相应的图,还有表达式分解的过程,很强大。-This is a foreigner under the codeproject code, there is no project files (dsw, dsp), but demo demo. A function of the input (such as log (x),
3d
- 一个使用QT编写的三维函数图形程序,输入z=f(x,y)的表达式即可画出函数图像,使用openGL编程-The preparation of a three-dimensional function using the QT graphics program, type z = f (x, y) function, the expression can draw images, use the openGL programming
FrenetGraph
- 指定一个多边形和一条曲线的参数表达式,使得该多边形沿着该曲线扫略,得到一个立体图形。源码使用的是螺旋线-Specify a polygon and a curve parameter expression, making the polygon swept along the curve, get a three-dimensional graphics. Source using a spiral