-
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
-
DOS crashed off satellite, to break cycle of death procedures, press Ctrl Esc wi...
DOS死机客星,能打破程序死循环,按住Ctrl +Esc即可使死掉的程序立即返回到Dos She-DOS crashed off satellite, to break cycle of death procedures, press Ctrl Esc will die so the procedure to return immediately to Dos She
- 2022-04-19 06:30:49下载
- 积分:1
-
电子秒表
电子秒表-99 seconds time counter
- 2022-03-17 23:52:16下载
- 积分:1
-
一个小小汇编程序 可以进行翻牌
一个小小汇编程序 可以进行翻牌-a little compilation procedures for transforming
- 2022-02-04 02:48:10下载
- 积分:1
-
学习如何使用MPLAB集成开发环境(IDE)的编码基因…
To learn how to use MPLAB Integrated Development Environment (IDE) for code generation, simulation, and debugging.
This code is a very simple program that sets up PORTC and PORTB I/Os and sends some values over these ports, and tries to read Port C and increments a counter and resets to a predetermined value when the counter rolls over to zero. All labels start in the first column, and the last line has an end directive. For detailed information, refer to the PIC18F452 datasheet on the course web page.
- 2022-07-13 16:21:22下载
- 积分:1
-
汇编程序原代码.
汇编程序原代码.-assembler source code.
- 2022-07-25 01:20:56下载
- 积分:1
-
intron 10 has several successful c compiler code, we are happy to share.
内含十几个已编译成功的c代码,欢迎大家共享。-intron 10 has several successful c compiler code, we are happy to share.
- 2022-06-26 12:12:52下载
- 积分:1
-
汇编语言的准备知识
汇编语言的准备知识- Assembly language preparation knowledge
- 2022-06-16 06:21:02下载
- 积分:1
-
PCF8574的数据移出移入总线的数据读写
PCF8574的数据移出移入总线的数据读写...
PCF8574的数据移出移入总线的数据读写
PCF8574的数据移出移入总线的数据读写-The data out of the bus PCF8574 moved into the data read and write the data out of the PCF8574 moved into the data bus read and write
- 2022-01-26 06:08:18下载
- 积分:1
-
AT91SAM7S32的一个应用.本程序为为一个简单的DEBUG口的输出演示:
1,完成基本的初始化
2,初始化DEBUG口,使能发送和接收
3,现...
AT91SAM7S32的一个应用.本程序为为一个简单的DEBUG口的输出演示:
1,完成基本的初始化
2,初始化DEBUG口,使能发送和接收
3,现象为在超级几终端打印信息-AT91SAM7S32 an application. The procedure for a simple mouth DEBUG output exercise : a complete two basic initialization, initialize DEBUG mouth so that it can send and receive three. the phenomenon of a few super information terminals Print
- 2022-02-03 16:15:58下载
- 积分:1