搜索资源列表
Draw
- 本程序是用Qt做的显示三种基本波形的Demo。 三角波,方波,正弦波。可以启动和停止,能改变幅值和偏移量。-This procedure is to do with Qt, the Demo show the three basic waveform. Triangle wave, square wave, sine wave. You can start and stop, change the amplitude and offset.
22
- 下面的代码在windows控制台下采用GLUT库,实现了一个彩色三角形在窗口内匀速转动(按下键盘上“ESC”键退出),请修改代码,实现窗口中三角形右边画一个正方形,并让该正方形也能匀速转动。-The following code in windows console using GLUT library that implements a colored triangle in the window uniform rotation (the keyboard by pressing "
Test
- Koch雪花的构图方法,递归模型的实现算法,建立平面二维坐标系,原点位于屏幕客户区中心,x轴水平向右为正,y轴铅直向上为正。 以原点为圆心绘制半径为r的圆,与y轴交于P0点。从P0点开始,顺时针方向将圆三等分,得到P1和P2点。P0P1P2构成等边三角形。 沿着等边三角形的三条边外侧分别绘制三段递归深度为4,夹角为60°的Koch曲线,形成Koch雪花。 -Koch snowflake patterning method, recursive algorithm model, the
sockstorage
- When the device driver doesn t implement triangle rasterization it can hook in _swrast_Triangle, which eventually calls one of these functions to draw triangles.
