-
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
-
这个运用了win32中的一些内容 由原来的单一的颜色不断换成不同颜色...
这个运用了win32中的一些内容 由原来的单一的颜色不断换成不同颜色-win32 the use of some elements of the original single color constantly replaced by the different colors
- 2022-03-16 01:10:54下载
- 积分:1
-
k分布的杂波的生成 运用于杂波模拟当中
k分布的杂波的生成 运用于杂波模拟当中-k model clutter mulitisim
- 2022-02-07 21:53:52下载
- 积分:1
-
小灯控制程序,流水灯控制程序,四种变化方式。
小灯控制程序,流水灯控制程序,四种变化方式。-Small lamp control procedures, water lamp control procedures, four types of changes in the way.
- 2022-08-14 00:52:09下载
- 积分:1
-
Cast256算法软件.用汇编语言编写.
Cast256算法软件.用汇编语言编写.-Cast256 algorithm software. Prepared to use assembly language.
- 2022-01-26 02:21:35下载
- 积分:1
-
虚拟的Win32 API的BSD Unix,在UNIX编译器直接调用Win32 API和# 39…
Virtual Win32 API For BSD UNIX, 可在UNIX下直接编译呼叫标准Win32 API之C/C++原始码, 单一原始码可跨平台, 可在Windows下使用Visual C++对于目标UNIX的程序除错 , 确定没问题后可直接移植至UNIX完全不用修改-Virtual Win32 API For BSD UNIX, in the UNIX compiler directly call Win32 API"s standard C/C source code. a single source for cross-platform, in Windows using Visual C goals for the UNIX debugging procedures, After determining no problem can be transplanted directly to UNIX entirely without changes
- 2023-06-27 07:35:03下载
- 积分:1
-
VC调用matlab中定义的.m文件中的函数的实例.rar
VC调用matlab中定义的.m文件中的函数的实例.rar-VC call matlab defined. M file function examples. Rar
- 2022-09-24 19:55:03下载
- 积分:1
-
开发一个嵌入式系统中的应用利用中断定时器模块…
Develop an embedded system application by utilizing a timer module with interrupts to create some required cycles. You will try to configure the SFRs of PIC18F452 MCU to get the job done.
- 2023-07-03 08:40:04下载
- 积分:1
-
三相电机调速程序,集成了AD,系统初始化,结构化。可以作为电机控制的参考...
三相电机调速程序,集成了AD,系统初始化,结构化。可以作为电机控制的参考-three-phase motor procedures, the AD integration, system initialization, structured. As motor control reference
- 2022-05-17 06:01:21下载
- 积分:1
-
MSP430C_p440 routines to more information please contact me.
MSP430C_p440例程如要更多资料请联系我.-MSP430C_p440 routines to more information please contact me.
- 2022-06-18 19:11:53下载
- 积分:1