-
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
-
用asm编的模拟dos中doskey命令的程序。按上下提取之前在终端输入的命令。...
用asm编的模拟dos中doskey命令的程序。按上下提取之前在终端输入的命令。-use asm series of the simulation were doskey dos order procedures. By extracting next before the end of the importation order.
- 2023-05-16 18:40:02下载
- 积分:1
-
我写的一个关于猜数字的小游戏,基于6502平台,基本能实现功能...
我写的一个关于猜数字的小游戏,基于6502平台,基本能实现功能-I wrote a ringing of the little game, based on 6502 platform, the basic function can be achieved
- 2022-01-24 08:44:26下载
- 积分:1
-
俄罗斯方块程序源码
俄罗斯方块程序源码-Tetris procedures FOSS
- 2022-07-22 22:00:36下载
- 积分:1
-
汇编源码 写注册用源码 可自定义皮肤 ASM源码
汇编源码 写注册用源码 可自定义皮肤 ASM源码-Compilation of source code was registered with the source code can be customized skin
- 2022-02-20 08:27:22下载
- 积分:1
-
按键扫描,有很多系统都用到按键控制操作,按键扫描功能的程序是不可小的....
按键扫描,有很多系统都用到按键控制操作,按键扫描功能的程序是不可小的.-Buttons to scan, there are many systems used to control the operation buttons, button scanning procedure can not be small.
- 2022-04-15 03:59:46下载
- 积分:1
-
基于DSP2812的电机的控制程序源代码:包括永磁同步电机,感应电机,无刷电机,开关磁阻电机,还附带9组测试程序...
基于DSP2812的电机的控制程序源代码:包括永磁同步电机,感应电机,无刷电机,开关磁阻电机,还附带9组测试程序-electromotor control dased on DSP2812
- 2022-01-24 16:46:16下载
- 积分:1
-
电子琴程序,典型的汇编程序
电子琴程序,典型的汇编程序-flower procedures, the typical assembler
- 2022-01-27 13:33:39下载
- 积分:1
-
Pressure acquisition program can be displayed by external sensors to measure pre...
压力采集程序,能够通过外接传感器来测量显示压力并做处理-Pressure acquisition program can be displayed by external sensors to measure pressure and to do deal with
- 2022-05-10 20:05:43下载
- 积分:1
-
用89c2051实现可随机编程的小巧机器人的汇编语言源程序
用89c2051实现可随机编程的小巧机器人的汇编语言源程序-Can be used 89C2051 realize compact random programming of the robot assembly language source
- 2022-01-27 16:07:28下载
- 积分:1