This project showcases the iconic "Matrix" rain effect, implemented in multiple programming languages: Java, C, Python, and HTML/JavaScript. Each implementation provides a unique approach to creating the same visual effect. Feel free in making improvements.
- Java Implementation
- C Implementation
- Python Implementation
- HTML/JavaScript Implementation
- Installation and Usage
- Contributing
- License
The Java version uses Swing for creating a graphical window where the Matrix rain effect is displayed. It also includes the author's name "Nerrison" as part of the rain effect.
- Java Development Kit (JDK)
The C version utilizes basic graphics libraries to render the Matrix rain effect in a terminal or console window.
- GCC (GNU Compiler Collection) or any other C compiler
- NCurses library (for terminal graphics, if used)
The Python version uses the Pygame library to create a window displaying the Matrix rain effect.
- Python 3.x
- Pygame (
pip install pygame)
The HTML/JavaScript version uses the <canvas> element and JavaScript to render the Matrix rain effect directly in a web browser.
- None (runs in any modern web browser)
- Compile the Java program:
javac MatrixRain.java
- Run the compiled Java program:
java MatrixRain
- Compile the C program:
gcc -o matrixRain matrixRain.c -lncurses
- Run the compiled C program:
./matrixRain
- Install Pygame:
pip install pygame
- Run the Python script:
python matrixRain.py
- Open the
index.htmlfile in any modern web browser.
Contributions are welcome! Please fork the repository and submit pull requests.
This project is licensed under the MIT License.