Matrix Rain / Falling Matrix code : Notepad trick

Have you watched the movie matrix? If you have watched it you would surely have noticed the green coded numbers running up and down (also called Matrix Rain) on the screen. In this That falling code trick is very easy to create on your own. Now, I'll show you how to do that.

matrix movie stype command prompt

Steps To Generate Failling Matrix Code

1)Open Notepad on your computer
2)Copy and paste the following code in to it

@echo off
color 02
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start 

3)Save it with any name you wish, but with the extension '.bat' (.bat stands for batch file). Save it wherever you want in your file system.

save the batch file

4)Now, double click on the file and feel like a bad ass programmer. Try showing this to your friends and feel proud of yourself when they look high of you.

matrix failling live demo

Watch the youtube video explaining the same

5)You can also change the color of the numbers by changing the 'color 02' in the code to what ever number you want
Following are the colors for various possible numbers

            00 - Black colored                                        
            01 - Blue
            02 - Green                                                    
            03 - Aqua Blue (greenish blue)
            04 - Red                                                      
            05 - Purple
            06 - Yellow                                                  
            07 - White
            08 - Grey                                                      
            09 - Light Blue
            0A - Light Green                                          
            0B - Light Aqua Blue
            0C - Light Red                                              
            0D - Light Purple
            0E - Light Yellow                                          
            0F - Bright White

6)To change the background change the first digit of the number
Some examples are:
             1X - Blue Background + color of the letters corresponding to the number X
             2X - Green Background + Color of the letters corresponding to X
             AX - Light Green Background + Corresponding color of letters
            So on and you can keep going

If No Argument is given, this command restores the color to what it was when CMD.EXE started. This value either comes from the current console window or from the DefaultColor registry value         

Thanks for stopping by. For more interesting and awesome tricks and tweaks subscribe to our blog feed.

links

social