Matrix Code screensaver

Microsoft Windows
Post Reply
User avatar
MigrationUser
Posts: 336
Joined: 2021-Jul-12, 1:37 pm
Contact:

Matrix Code screensaver

Post by MigrationUser »

09 Jan 2013 22:42
yocally

Hey guys, I've put off my other project for the time being, but eventually I'll get back to it. In the mean time, I came up with a quick little program that really does nothing in particular, but looks like the code rain from the movie Matrix. I've never seen the movie but I've seen videos people make imitating this cool little thing. While this isn't code rain (still working on how I could manage that in BATCH, it'll take a lot of work) it is sort of a code scramble. I found that it's fun to put in the system folder or what ever so you can start it right from CMD and have it open in the background to watch (I leave it open on my second monitor when not in use). So here it is! One of the lines is optional if you want to use it in CMD rather then just a regular batch file on your desktop, I'll point it out...

Code: Select all

@ECHO OFF
TITLE Matrix
color 02
start C:\Windows\System32\cmd.exe
::that line up there can be deleted if you aren't going to use this through CMD, if for some reason that path up there doesn't work, make sure it is the correct path for where CMD is stored on your computer
:loop
set /a number_string1= %random% %% 10000 + 99999
set /a number_string2= %random% %% 10000 + 99999
set /a number_string3= %random% %% 10000 + 99999
set /a number_string4= %random% %% 10000 + 99999
set /a number_string5= %random% %% 10000 + 99999
set /a number_string6= %random% %% 10000 + 99999
set /a number_string7= %random% %% 10000 + 99999
set /a number_string8= %random% %% 10000 + 99999
set /a number_string9= %random% %% 10000 + 99999
set /a number_string10= %random% %% 10000 + 99999
set /a number_string11= %random% %% 10000 + 99999
set /a number_string12= %random% %% 10000 + 99999
set /a number_string13= %random% %% 10000 + 99999
set number=%number_string1%%number_string2%%number_string3%%number_string4%%number_string5%%number_string6%%number_string7%%number_string8%%number_string9%%number_string10%%number_string11%%number_string12%%number_string13%
ECHO %number%
goto loop
It's a tad rusty, yes, but it only took a few minutes to build :D

----------------------------

#2 09 Jan 2013 23:26
Ed Dyreen


'
A few other cmd based matrix screensavers
Image
Regards,

Last edited by Ed Dyreen (09 Jan 2013 23:31)

----------------------------

#3 10 Jan 2013 00:08
yocally


-.- okay fine, that ones better. But I like mine too
Post Reply