-
vb 分形树
Dim xs As Integer
Dim ys As Integer
Dim alph As Single
Dim lng As Single
Dim m As Integer
Const PI As Single = 3.14159265
Private Function tree(x As Integer, y As Integer, angle As Single, length As Single, n As Integer)
Dim x0 As Integer
Dim y0 As Integer
Dim alpha As Single
Dim beita As Single
Dim leng As Single
BackColor = vbWhite
If n > 0 Then
x0 = x + Cos(angle) * length
y0 = y - Sin(angle) * length
picture1.Line (x, y)-(x0, y0), vbbrake
alpha = angle - PI / 8
beita = angle + PI / 8
leng = 2 * length / 3
Call tree(x0, y0, alpha, leng, n - 1)
&nbs
- 2022-01-24 19:06:52下载
- 积分:1
-
MSP430 C 例程_编译器为IAR embedded workbench,如要更多资料请联系我...
MSP430 C 例程_编译器为IAR embedded workbench,如要更多资料请联系我-MSP430 C compiler routines _ for IAR embedded workbench, if more information please contact me
- 2022-01-24 13:06:46下载
- 积分:1
-
boy的java 程序,用与appletviewer显示
boy的java 程序,用与appletviewer显示-boy of java program, and show appletviewer
- 2022-06-18 19:30:41下载
- 积分:1
-
dsk5416的McBSP的应用。我已经调试以确保正确…
DSK5416的mcbsp应用.本人调试过,保证正确-Application of the McBSP DSK5416. I have been debugging to ensure that the correct
- 2022-06-28 23:06:01下载
- 积分:1
-
Infrared Remote Control Electronic locks procedures, through the infrared remote
红外遥控电子密码锁程序,通过红外遥控我们的电子密码锁-Infrared Remote Control Electronic locks procedures, through the infrared remote-control our electronic code lock
- 2022-08-23 16:03:26下载
- 积分:1
-
Basic program for Home automation robo in assembly language.
Basic program for Home automation robo in assembly language.
- 2022-05-07 15:14:49下载
- 积分:1
-
本应用为温度计的源程式,用C写的,不错哦
本应用为温度计的源程式,用C写的,不错哦-This application for thermometer source programs, written using C, yes Oh
- 2023-02-28 18:15:03下载
- 积分:1
-
our recent experiments
我们最近做的实验-our recent experiments
- 2023-04-18 15:40:03下载
- 积分:1
-
此系统是本人做毕业设计时候的老东西了,是汇编写的。可以在PROTEUS上仿真,实际效果和仿真效果一模一样,电梯的功能相信大家都很了解,我就不在这多讲了。但要说明...
此系统是本人做毕业设计时候的老东西了,是汇编写的。可以在PROTEUS上仿真,实际效果和仿真效果一模一样,电梯的功能相信大家都很了解,我就不在这多讲了。但要说明的一点是:我这个系统是仿真用的,有些东西不能和现实中的电梯相比,里面可能有某些方面考虑的不是很周到,希望有心的朋友提点意见,谢谢我的E-MAIL:qq317999920@163.com-This system is designed when I graduated to do the old things is a compilation of writing. Be able to PROTEUS on the simulation, the actual results and simulation of the effect of exactly the same as the functions of elevator think we all understand that I am not in this more than a speech. But the point is to explain: I used this system is the simulation of, some things can not be compared to the reality of the elevator, which may have to consider certain aspects of the not very thoughtful, I hope interested提点意见Friend, thank you my E-MAIL: qq317999920@163.com
- 2023-05-30 19:55:03下载
- 积分:1
-
这是实现三相异步电动机FOC的DSP开发源代码,希望对大家有用。平台是CCS2000,用的是TMSLF2407开发板...
这是实现三相异步电动机FOC的DSP开发源代码,希望对大家有用。平台是CCS2000,用的是TMSLF2407开发板-This is the realization of three-phase asynchronous motor FOC source code of the DSP development, in the hope that useful to everyone. Platform is CCS2000, using a development board TMSLF2407
- 2022-04-24 06:43:11下载
- 积分:1