搜索资源列表
ball
- 该程序用不同颜色的小球的运动轨迹来画出一幅抽象图画。小球共有七个,分别是红,绿,蓝,黑,白,靛青,橙黄色。小球在画布的上方分别间隔相等的距离,同时出发,但各个球的运动速度是逐渐减少的。第一个球最快,从第一个球到第六个球速度逐渐递减,且球的运动方向是逆时针,第七个球是顺时针运动。球的运动轨迹模拟光的反射。以边界的法线为对称轴的对称直线,即小球运动轨迹直线的入射角度等于反射角度。-The program with a different color ball trajectory to draw a
NonRect
- VC++非矩形窗体(四角为弧形)的代码实例,像一些音乐播放器的窗体、一些游戏的窗体等,除了把角变为弧形外,还有圆角、椭圆窗体和不规则窗体,我的实现过程是设置对话框的背景为 “TRANSPARENT”(透明),并在WM_CTLCOLORDLG消息处理器中创建一支“空笔”(NULL)来绘制对话框背景,然后用TransparenBlt将自己的位图放到对话框上。 -VC++ non-rectangular form (four corners of the arc) of the code exa
Chemicals2204995252011
- I have written this program to make it easy for anyone to make computer graphics based structrual design of simple compounds. (User can also make very complex chemical structures but he/she will need a clear idea of 3D geometry and some basic trigno
deskball
- 设计一个台球模拟游戏,绘制一张台球桌,设置六个球洞,一个白色母球及十五个红色目标球,绘制一个球杆,在合适的角度和力度下,利用母球将目标球击打进球洞,在所有目标球都进洞时,游戏结束,再次进入初始界面。-A billiards simulation game designed to draw a pool table, set up six holes, a white cue ball and 15 red object ball, drawing a club, at the right ang
moonxuanzhuan
- 双月型数据的旋转,可自行设置旋转角度并画图-Bi-monthly rotation of the data type, can set the rotation angle and draw their own
fft_1
- 已知两个序列x[n]=cos(n*pi/2), y[n]=ej*pi*n/4x[n],绘制X(ejw)和Y(ejw)和幅度和相角,说明它们的频移关系-The known two sequence x [n] = cos (n* PI/2), y [n] = ej* PI* n/4 x [n], draw x (ejw) and y (ejw) and amplitude and phase Angle, suggesting their frequency shift relationship
test
- 在c++builder环境下应用,画出平面直角坐标系,比较通用-In c++ builder environment application, draw the plane right Angle coordinate system, more general
CFTSHACK
- 利用内存地址读取敌人位置,视角控制敌我位置,准确的画出方框.-Memory address to read the enemy position, viewing angle control of the enemy position, the draw box.
tuoluoyi
- 采样加速度传感器和陀螺仪,然后卡尔曼滤波得出角度与角速度;(滤波模块借鉴老外的)(互补滤波效果感觉不是很好); 计算车轮的速度,积分得出位置; -Acceleration sensors and gyroscopes, and then sampling the Kalman filter to draw angle and angular velocity (filter module to learn from foreigners) (complementary filterin
dianziluopan
- 采样加速度传感器和陀螺仪,然后卡尔曼滤波得出角度与角速度;(滤波模块借鉴老外的)(互补滤波效果感觉不是很好); 2:计算车轮的速度,积分得出位置; -Sampling the accelerometer and gyroscope, then the Kalman filter to draw angle and angular velocity (filter module draw foreigners) (complementary to the filtering effect
opencv_rand_draw
- 本文主要介绍下opencv中自带的一个随机数发生器的类RNG,这里我用这个类来画一些图形,和基础学习笔记之opencv(13):基本绘图 一文中类似,只是 这里画出来图像的坐标,大小,颜色,角度等所有信息都是随机的,且是用RNG这个类产生的。参考文献为opencv自带tutiol及其代码。 开发环境:opencv2.4.2+Qt4.8.2+ubuntu12.04+QtCreator2.5 实验功能: 1. 该实验可以画6中几何图形和1个文本显示,每种都是画80个,每画完一
Arc
- 基于OpenGL的圆弧程序,先对圆弧的圆心,半径,起点,角度等设置,然后进行绘制-OpenGL-based arc procedure, first the center of the arc radius, the starting point, the angle settings, and then draw
route1.8
- 在界面上点击工具栏上的相应按钮画出一个多边形以及始点和终点,点击相应按钮画出始终点连成的向量与多边形的最大夹角。-Interface, click the corresponding button on the toolbar to draw a polygon, and the start and end points, the maximum angle between the vector and polygon draw always point even click on the ap
PolarDiagram
- 一个在C#中使用GDI+绘制极坐标图的实例源码,一个较简单的GDI+的例子。通过本源码向大家介绍如何使用GDI+从无到有绘制一个极坐标系,以及在此基础上绘制数据图。按照类似的思路,你可以画出直角坐标系、对数直角系、外太空银河系-The a draw polar plot instance of source code in C# using GDI+, a relatively simple example of GDI+. Through this source to tell you abo
Acoustic-line-drawing-
- 声线绘制程序,要求在声线不碰海底、海面的情况下,根据所给的任意大洋声速剖面、声源深度和声线传播的水平距离,画出出射角从-10°到10°的20条声线在大洋声道传播的情况-Acoustic line drawing program, not touch the seabed under the conditions of the sea, according to any oceanic sound velocity profile, the sound source depth harmonies
cgSYJLineDemo
- 实现bresenham中点法画任意直线,任意角度的圆弧。-Achieve bresenham midpoint draw any straight line, at any angle of the arc.
jiaodugenzong
- 对角度跟踪并给出详细的跟踪结果,比较不同情况下的运行效率,绘制跟踪误差曲线,直接给出曲线图,可以直接运行.-For pure Angle tracking and give detailed tracking results, draw tracking error curve, compare different situations efficiency, direct given curve, can be directly run
animal
- C++编写的小程序,可以绘制简单的动物,通过键盘操作可以切换视角并且可以在两只动物的显示中切换。-C++ write small procedures, can draw up the simple animal, through the keyboard can switch Angle and can be in two animals display of switching.
treeTask
- 绘制分形图: 分形树,先按某一方向画一条直线,然后在此线段上找到一系列节点, 在每一节点处向左右偏转一定角度各画一条分枝。 节点位置和节点处所画分枝的长度可参考编程要求中的分割比例 -Draw Fractal map: fractal tree initially draw a straight line in a direction, then find a series of nodes, each node on the line to the left and right d
CgCWLLineDemo
- 使用DDA算法,Bresenham算法实现直线段的绘制,同时实现圆的绘制;重点:实现任意角度圆弧的绘制。-DDA algorithm, Bresenham algorithm to draw line segments, while achieving the circle focus: achieving arc drawn any angle.