HOW TO DRAW FALLING MATRIX USING NOTEPAD
HOW TO DRAW FALLING MATRIX USING NOTEPAD
You can draw falling matrix by using simple code in the notepad.
@echo off
color 01
:code
echo %random%%random%%random%%random%%random%%random%%random%%random%
goto code
Copy and paste this code in the notepad and save it with .bat file name extension.
For example 'code.bat'.
Now output be like this :
Here color 01 specify blue color with black background.
In the above code you can change the color of your own choice by using following attribute.
Color attributes are specified by TWO hex digits -- the
first corresponds to the background; the second the foreground. Each
digit can be any of the below values.
| 0 = Black | 8 = Gray |
| 1 = Blue | 9 = Light Blue |
| 2 = Green | A = Light Green |
| 3 = Aqua | B = Light Aqua |
| 4 = Red | C = Light Red |
| 5 = Purple | D = Light Purple |
| 6 = Yellow | E = Light Yellow |
| 7 = White | F = Bright White |
Very good article
ReplyDelete