1

Topic: Effect of a matrix

Hello experts, I ask to help me with writing of the program as Effect of the Matrix on VB 6
It is necessary that in matrix MxM, digits 1 and 0 on top fell, outside letters and characters it is not necessary, only 1 and 0, using the timer. In advance thanks.

2

Re: Effect of a matrix

Rebellion wrote:

I ask to help

we help. Ask questions

3

Re: Effect of a matrix

Where to fall? Graphically, how windows?

4

Re: Effect of a matrix

Slava777;
From top to down and the cycle should repeat, while the button of feet will not push, I here try to write but that that especially does not quit...

5

Re: Effect of a matrix

To be exact as here [youtube=3RG5wCen6p8]

6

Re: Effect of a matrix

If so?

7

Re: Effect of a matrix

Option Explicit
Private Sub Form_Load ()
Font. Name = "Lucida Console"
BackColor = vbBlack
Timer1.Interval = 50
End Sub
Private Sub Timer1_Timer ()
Static p As Long, l As Long
Cls
Do While CurrentY <ScaleHeight
Do While CurrentX <ScaleWidth
Rnd-Sqr (CurrentX) * CurrentY + l '-l
ForeColor = RGB (0, Rnd * 255, 0)
Print Int (Rnd * 10);
Loop
Print: l = l - 1
Loop
p = p + 1: l = p
End Sub

[IMG] https://s8.hostingkartinok.com/uploads/ … 91d8bf.png [/IMG]

8

Re: Effect of a matrix

Slava777 , not absolutely that but too norms, and the code is possible?
ATM-TURBO 2 , yes, thanks, at other forum I created a subject,  wrote this code