-
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
-
本程序是用于高速冲床上的送料控制程序,一个较为简单的89C51中断、定时计数器应用程序,已经调试成功,今天为大家出点力,也希望能在以后的学习中能得到大家的帮助。...
本程序是用于高速冲床上的送料控制程序,一个较为简单的89C51中断、定时计数器应用程序,已经调试成功,今天为大家出点力,也希望能在以后的学习中能得到大家的帮助。-This procedure is used for high-speed red bed feed control procedures, a relatively simple 89C51 interrupt, timer counter application has debugging success for the U.S. today, a little effort, but also hope to study in the future everyone will be help.
- 2022-12-29 17:45:08下载
- 积分:1
-
用89C51串行口外接CD4094移位寄存器扩展8位并行口,8位并行口的每位都接一个发光二极管,要求发光二极管从左到右以一定延迟轮流显示,并不断循环。...
用89C51串行口外接CD4094移位寄存器扩展8位并行口,8位并行口的每位都接一个发光二极管,要求发光二极管从左到右以一定延迟轮流显示,并不断循环。-Using 89C51 external serial port expansion CD4094 shift register 8-bit parallel port, 8-bit parallel port of each one, all light-emitting diodes, light emitting diodes require a certain delay in rotation from left to right shows, and continue the cycle.
- 2023-01-07 04:40:03下载
- 积分:1
-
字母小到大
字母小到大---汇编-alphabetical small to large compilation
- 2022-02-18 15:59:02下载
- 积分:1
-
MASM32汇编工具的帮助文件,是学习WIN32汇编的必备工具文档。
MASM32汇编工具的帮助文件,是学习WIN32汇编的必备工具文档。-Assist the compilation of the instrument MASM32 documents are compiled WIN32 study documents an essential tool.
- 2022-01-26 05:27:19下载
- 积分:1
-
with DSP5410 achieve PN code, assembly language programming
用DSP5410实现PN码,汇编语言编程-with DSP5410 achieve PN code, assembly language programming
- 2022-01-26 01:31:15下载
- 积分:1
-
一个汇编实习作业
一个汇编实习作业-a compilation of practical operation
- 2023-05-20 18:55:03下载
- 积分:1
-
8位微程序控制计算机设计实验 汇编控制CPU简单乘法
8位微程序控制计算机设计实验 汇编控制CPU简单乘法-eight microprocessor-controlled experimental design compilation of computer control CPU simple multiplication
- 2022-03-05 14:48:50下载
- 积分:1
-
实现8251可编程通信实验的汇编源代码
使用环境是星研集成环境...
实现8251可编程通信实验的汇编源代码
使用环境是星研集成环境-8251 programmable communication experiment to achieve the compilation of source code for the use of the environment is an integrated environment for satellite research
- 2022-06-22 04:24:42下载
- 积分:1
-
PT6523的程序,需要的朋友可以看一下
PT6523的程序,需要的朋友可以看一下-PT6523 procedures need friends can look at
- 2022-07-21 09:08:02下载
- 积分:1