The Matrix rain effect is one of the most iconic visual effects in movie history. It is a striking display of binary code cascading down the screen that has captured the imaginations of audiences for decades. While it may seem like a complex effect, it is actually relatively easy to create using Command Prompt. In this article, we will explore how to create the Matrix rain effect using Command Prompt.
First, we need to open Command Prompt. To do this, press the Windows key and type “CMD” into the search bar. Click on Command Prompt from the results. Once Command Prompt is open, we can begin creating the Matrix rain effect.
The first step is to change the Command Prompt background and text color to black and green, respectively. To do this, right-click on the top of the Command Prompt window and select Properties from the drop-down menu. In the Properties window, click on the Colors tab. From there, change the Screen Text and Screen Background colors to green and black, respectively. Click OK to save the changes.
Now we can start creating the Matrix rain effect. We will use the “echo” command in Command Prompt to display the binary code on the screen. The first line of code we need to enter is “@echo off” – this will turn off the Command Prompt text display. Next, we need to set the size of the Command Prompt window to fit the Matrix rain effect. Enter “mode con: cols=115 lines=30” to set the Command Prompt window size. This will allow us to display the Matrix rain effect in full screen.
Next, we need to enter the code that will create the Matrix rain effect. Enter the following code:
:top
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto top
This code generates random sequences of binary code and displays them on the screen using the “echo” command. The “goto top” command then loops the code back to the “:top” label, creating a continuous stream of binary code.
Once the code is entered, press the Enter key to start the Matrix rain effect. You can adjust the speed of the Matrix rain effect by adding a delay. For example, you can add a one-second delay by entering “ping -n 1 -w 1000 >nul” after the “echo” command.
Congratulations, you have successfully created the Matrix rain effect using Command Prompt! You can experiment with different delay times and colors to customize the effect. To stop the effect, simply press Ctrl+C in the Command Prompt window.
In conclusion, the Matrix rain effect is a striking visual effect that can be easily created using Command Prompt. By following the steps outlined in this article, you can create your own Matrix rain effect and impress your friends and colleagues. So put on your black leather trench coat, jack in, and let the Matrix rain fall!
Quest'articolo è stato scritto a titolo esclusivamente informativo e di divulgazione. Per esso non è possibile garantire che sia esente da errori o inesattezze, per cui l’amministratore di questo Sito non assume alcuna responsabilità come indicato nelle note legali pubblicate in Termini e Condizioni
Quanto è stato utile questo articolo?0Vota per primo questo articolo!