-
俄罗斯方块
采用C++语言编写的儿童益智游戏,俄罗斯方块的基本规则是移动、旋转和摆放游戏自动输出的各种方块,使之排列成完整的一行 或多行并且消除得分。同时也为大家编写其它的小游戏提供良好的借鉴。
- 2023-02-05 13:55:04下载
- 积分:1
-
采用两种不同的方法绘制曲线 a) 二次B样条曲线 二次B样条曲线段的函数表达式为 (1) 其中 为控制顶点。 说明: ① 对任给定的一组控制顶点 ,每相邻三个控...
采用两种不同的方法绘制曲线 a) 二次B样条曲线 二次B样条曲线段的函数表达式为 (1) 其中 为控制顶点。 说明: ① 对任给定的一组控制顶点 ,每相邻三个控制顶点为一组进行曲线段绘制。即 为一组, 为一组,…, 为一组,所有曲线段连在一起即构成了整个B样条曲线。事实上,前一条曲线段的终点即是下一条曲线段的起点。 ② 在每一段曲线的绘制过程中, 取不同的值便得到曲线上不同的点。例如 时,由公式(1)可得到曲线的起点, 时可计算得到曲线的终点。为处理方便,可进行等距离选择,如10等份, 依次取0,0.1,0.2…,1.0,从而可计算得到10个曲线段上的点,把这10个点依次连接,就可得到该曲线段。 b) 四点插值细分曲线 四点插值细分曲线的表达规则为 其中 为控制顶点, 为细分次数, 为顶点下标。即每细分一次,在任意两点之间插入一顶点。为方便处理起见,可绘制成封闭曲线。 (初始)控制顶点保存在文件中。 给定两个测试文件c1.txt,c2.txt-using two different methods of drawing curve a) quadratic B-spline curves of the second B-spline curves of expression as a function of (1) for the control vertices. Note :-given right of a group of control vertices per three vertices adjacent to a group Marche line drawing. Namely, a group of a group, ... to a group, all of the curves that together constitute the entire B-spline curves. In fact, a curve before the end of the next one that is the starting point of the curve. curve in every section of the drawing process, different from the value curve will be differe
- 2022-03-20 07:54:53下载
- 积分:1
-
Drawing on the realization of 3D geometry translation, rotation, variable than t...
对绘制的三维几何图形实现平移、旋转、变比的基本变换-Drawing on the realization of 3D geometry translation, rotation, variable than the basic transformation
- 2023-03-19 07:55:03下载
- 积分:1
-
c语言实现DDA画线法。有详细注释!
c语言实现DDA画线法。有详细注释!-DDA painting method. Detailed Notes!
- 2022-12-05 15:55:02下载
- 积分:1
-
使用一个基于地形的LOD算法结果的树结构…
用一种基于树形结构的LOD算法来显示的地形,效果很好,学以游戏编程的人可以参考一下.-using a tree structure based on the LOD algorithm of the terrain and the results very good, learn to program the game to make profits.
- 2023-02-02 17:35:04下载
- 积分:1
-
the image changes after its Fourier
N*N的图像的傅立叶变化后对其反变换的结果-the image changes after its Fourier- Transform results
- 2023-02-15 12:10:03下载
- 积分:1
-
在状态栏中添加动画
不需要任何特殊控件,只使用DELPHI自带的控件,在状态栏中加入动画的实例。...
在状态栏中添加动画
不需要任何特殊控件,只使用DELPHI自带的控件,在状态栏中加入动画的实例。-column in a state of animation do not need to add any special controls, Delphi, bringing their use only the controller, column in a state of animation example.
- 2022-01-26 05:48:24下载
- 积分:1
-
计算机图形学程序,三个
计算机绘图程序,三次B样条函数曲线,包含源代码及Delphi图形范例,适合曲线拟合用途-Computer graphics procedures, the three B-spline function curve, and Delphi source code contains examples of graphics for curve fitting purposes
- 2022-08-23 18:27:01下载
- 积分:1
-
2维光子晶体的正方形阵列。
square array of 2 dimensional photonic crystals.
- 2023-05-23 18:35:04下载
- 积分:1
-
used to prepare the filled polygon scan algorithm, there are documents in JBuild...
用java编写的多边形扫描填充算法,有文档和在jbuilder下打包的exe文件-used to prepare the filled polygon scan algorithm, there are documents in JBuilder and packaged under the exe files
- 2022-04-21 02:37:15下载
- 积分:1