-
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
-
WIN98硬盘引导记录祥解
WIN98硬盘引导记录祥解-WIN98 drive boot record xiang, XIE
- 2022-06-26 02:02:59下载
- 积分:1
-
一个ADC0809的程序,很有用的,不放试一试
一个ADC0809的程序,很有用的,不放试一试-a ADC0809 procedures useful, link test
- 2022-02-13 21:16:13下载
- 积分:1
-
三相电机调速程序,集成了AD,系统初始化,结构化。可以作为电机控制的参考...
三相电机调速程序,集成了AD,系统初始化,结构化。可以作为电机控制的参考-three-phase motor procedures, the AD integration, system initialization, structured. As motor control reference
- 2022-05-17 06:01:21下载
- 积分:1
-
Tang detailed description of all test cases, as well as a number written in asse...
唐老师详细介绍了所有的测试用例,以及一些用汇编语言编写的课程设计,详细说明,包括红绿灯、报警系统等。!
- 2022-02-19 21:44:11下载
- 积分:1
-
含主副模块的多模块设计
含主副模块的多模块设计-vice module containing the main multi-module design
- 2023-07-07 03:00:03下载
- 积分:1
-
这是用汇编语言开发的一种输入方法,简单灵活,词库多,已经在使用,但词库灵活程度还有待开发。...
这是用汇编语言开发的一种输入方法,简单灵活,词库多,已经在使用,但词库灵活程度还有待开发。-This is the development of assembly language with an input method, simple, flexible, thesaurus, and already in use, but also the flexibility of the thesaurus to be developed.
- 2022-01-25 20:38:20下载
- 积分:1
-
你想知道你是什么星座吗?这是一个用WIN32编的计算你是什么星座,只要输入你的生日就行了...
你想知道你是什么星座吗?这是一个用WIN32编的计算你是什么星座,只要输入你的生日就行了-Do you want to know what constellations you are you? This is a calculation made using WIN32 what constellations you are, just enter your birthday on the list
- 2022-08-20 01:39:31下载
- 积分:1
-
ht6221遥控代码,可用于红外遥控设备,等。
HT6221摇控代码,可用于红外等多种摇控器-HT6221 remote code, can be used for infrared remote control devices, etc.
- 2023-04-20 04:25:03下载
- 积分:1
-
采用电流正弦波细分原理,研制出了一种三相混合式步进电机驱动器,实现了三相混合式步进电机的相电流闭环控制和细分驱动。具有多种细分和相电流设置功能,能够驱动多种三相...
采用电流正弦波细分原理,研制出了一种三相混合式步进电机驱动器,实现了三相混合式步进电机的相电流闭环控制和细分驱动。具有多种细分和相电流设置功能,能够驱动多种三相混合式步进电机,其最小步距角为0.036°。-Breakdown of the use of sinusoidal current principle, developed a three-phase hybrid stepping motor driver, to achieve a three-phase hybrid stepping motor phase current breakdown of the closed-loop control and drive. With multiple segments and phase current setting function, able to drive a variety of three-phase hybrid stepping motor, the smallest step angle is 0.036 °.
- 2022-07-11 18:48:51下载
- 积分:1