-
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
-
SoniX parent application development model aircraft aircraft source code! A stee...
应用松翰母体开发的航模飞机的源代码!有舵机控制功能-SoniX parent application development model aircraft aircraft source code! A steering control
- 2022-12-09 00:25:03下载
- 积分:1
-
某个程序字符出现的标志 例如 a 0 1
某个程序字符出现的标志 例如 a 0 1-Characters in a program such as signs emerged a 0 1
- 2022-08-02 20:09:19下载
- 积分:1
-
helios voice chip recording audio source. Sub automatic recording can be erased....
helios语音芯片的录音放音源程序。自动分段录音,可擦除。其音频数据存储采用SPI FLASH存储芯片-helios voice chip recording audio source. Sub automatic recording can be erased. Audio Data Storage their use SPI Flash Memory Chip
- 2022-03-21 08:47:50下载
- 积分:1
-
addition of fixed values
固定值的加法。我用bx和ax作为寄存器。bx表示第一个固定值,ax表示第二个固定值,然后将其相加。
- 2022-09-27 03:00:03下载
- 积分:1
-
MCS51四字节除法运算程序,可计算出四字节的商和四字节的余数。...
MCS51四字节除法运算程序,可计算出四字节的商和四字节的余数。-mcs51 division operation routine for tetra-byte ,may calculate both quotient of tetra-byte and remaining of tetra-byte
- 2022-02-12 16:01:41下载
- 积分:1
-
an asm program for serial rs232 data communication.
asm的基于rs232的连机数据传输与接受程序。-an asm program for serial rs232 data communication.
- 2023-05-25 18:25:03下载
- 积分:1
-
汇编语言开发驱动程序的开发包,里面有很多很实用的实例和工具。...
汇编语言开发驱动程序的开发包,里面有很多很实用的实例和工具。-Assembly language development driver development kit, which has a lot of very practical examples and tools.
- 2022-03-05 04:20:59下载
- 积分:1
-
通过拖动活动条来显示颜色
虽然有很简单,但是还是有值得学习的地方...
通过拖动活动条来显示颜色
虽然有很简单,但是还是有值得学习的地方-Article by dragging activities to show the color
- 2022-01-26 00:28:55下载
- 积分:1
-
用汇编编写的密码锁,proteus仿真,程序,原理图全套,希望对需要的人有用...
用汇编编写的密码锁,proteus仿真,程序,原理图全套,希望对需要的人有用-Compilation prepared by using locks, proteus simulation, procedures, a full set of schematic diagram, in the hope that those who need it useful
- 2022-05-09 00:58:59下载
- 积分:1