Readme
Matrix Screen Saver Collection
A comprehensive collection of terminal-based Matrix-style screen savers featuring the iconic βdigital rainβ effect with advanced visual enhancements, interactive features, and multiple themed variants for every occasion.
Features
Core Features
- π Authentic Matrix-style digital rain effect
- π¨ 17 unique variants with different themes and effects
- β‘ Smooth animation (~20 FPS)
- β¨οΈ Simple controls (press βqβ to quit)
- π§ Linux/Unix/macOS compatible
- π― Lightweight and efficient
Advanced Effects
- π₯ Fire gradient effects (blue β red β white)
- π Wave motion patterns with color transitions
- β‘ Glitch effects with system error messages
- π Trail fade effects for realistic motion blur
- πΌοΈ Progressive image revelation through Matrix rain
- π΅ Audio-reactive visual responses (simulated)
Enhanced Characters
- π―π΅ Authentic Japanese Katakana characters
- π€ Mixed ASCII and Unicode character sets
- π² Dynamic character selection algorithms
- β‘ Variable speed columns for realistic flow
Requirements
Core Requirements
- Python 3.x
- Linux/Unix/macOS terminal
curseslibrary (usually included with Python)
Optional Dependencies
psutillibrary (for system monitoring inmatrix_system.py)pyaudioorsounddevice(for real audio input inmatrix_music.py)
Unicode Support
- Terminal with Unicode/UTF-8 support (for Katakana characters in
matrix_enhanced.py)
Installation
Dependencies Installation
# Install all dependencies
pip install -r requirements.txt
# Or install individually
pip install psutil # For system monitoring (matrix_system.py)
# Optional: For real audio input (matrix_music.py)
# pip install pyaudio
# pip install sounddevice
Method 1: Direct Download
# Clone or download the repository
git clone <repository-url>
cd matrix-ss
# Make all scripts executable
chmod +x *.py
Method 2: Manual Setup
# Download all scripts to your desired location
# (All 10 matrix variants)
# Make executable
chmod +x matrix*.py
Usage
Basic Usage
# Classic Collection
python3 matrix.py # Original green Matrix
python3 matrix_red.py # Dramatic green + red
python3 matrix_rainbow.py # Festive rainbow colors
python3 matrix_system.py # System monitoring
# Enhanced Collection
python3 matrix_enhanced.py # Katakana + fade effects
python3 matrix_fire.py # Fire gradient effects
python3 matrix_glitch.py # Glitch + error messages
python3 matrix_wave.py # Wave motion patterns
python3 matrix_image.py # Progressive image reveal
python3 matrix_music.py # Audio-reactive (simulated)
Quick Start
# Make all executable and run your favorite
chmod +x *.py
./matrix_enhanced.py # Recommended for best experience
Controls
- Press βqβ to quit the screen saver
- Ctrl+C to force exit
Versions
Classic Collection
π’ Classic Matrix (matrix.py)
The original Matrix screen saver with authentic green digital rain effect.
python3 matrix.py
Features: - π Authentic Matrix movie experience - π’ Green characters only - π¬ Nostalgic classic look
π΄ Dramatic Matrix (matrix_red.py)
Enhanced version with red characters mixed with green for a more dramatic effect.
python3 matrix_red.py
Features: - π’ 80% green characters - π΄ 20% red characters - β‘ Dramatic visual impact - π Perfect for intense moments
π Rainbow Matrix (matrix_rainbow.py)
Vibrant rainbow version with all colors of the spectrum for festive occasions.
python3 matrix_rainbow.py
Features: - π 7 rainbow colors (Red, Yellow, Green, Cyan, Blue, Magenta, White) - π Perfect for celebrations and events - β¨ Vibrant and eye-catching - πͺ Great for demonstrations
π₯οΈ System Monitor Matrix (matrix_system.py)
Advanced version that displays real-time system information in the center while Matrix rain falls around it.
python3 matrix_system.py
Features: - π₯οΈ Real-time system monitoring (CPU, Memory, Disk, IP, Time, Date, User, Load) - π΄ System info displayed in red at center - π’ Matrix rain falls around the information panel - β° Updates every second - π― Perfect for system administrators and monitoring
Enhanced Collection
β Enhanced Matrix (matrix_enhanced.py) - RECOMMENDED
The most advanced version with authentic Japanese characters and realistic fade effects.
python3 matrix_enhanced.py
Features: - π―π΅ Authentic Katakana characters (70%) + ASCII (30%) - π Realistic trail fade effects - β‘ Variable speed columns - π Most authentic Matrix experience - π« Character aging and disappearing effects
π₯ Fire Matrix (matrix_fire.py)
Matrix rain with dynamic fire gradient effects that change temperature over time.
python3 matrix_fire.py
Features: - π₯ Dynamic fire gradient (Blue β Cyan β Green β Yellow β Red β Magenta β White) - π‘οΈ Heat levels that change over time - βοΈ Cool and hot zones - π¨ 7-stage color temperature system
β‘ Glitch Matrix (matrix_glitch.py)
Matrix with random glitch effects and system error messages for a cyberpunk feel.
python3 matrix_glitch.py
Features: - β‘ Random glitch effects every 5-15 seconds - π¨ System error messages (βERROR: SYSTEM BREACH DETECTEDβ) - π Corrupted character blocks (ββββ) - π₯ Flashing and color corruption effects - π΄ Red alert colors during glitches
π Wave Matrix (matrix_wave.py)
Matrix rain influenced by sine wave patterns with dynamic color transitions.
python3 matrix_wave.py
Features: - π Sine wave motion patterns - π¨ Color zones based on wave proximity (White β Cyan β Blue β Green) - β‘ Variable speed influenced by wave position - γ°οΈ Visible wave line indicator - π Fluid, organic movement patterns
πΌοΈ Image Reveal Matrix (matrix_image.py)
Matrix rain that gradually reveals hidden ASCII art with progress tracking.
python3 matrix_image.py
Features: - πΌοΈ Progressive ASCII art revelation - π Real-time decoding progress bar - π¨ Color-coded revelation stages (Yellow β White β Red) - π¬ βWAKE UP NEOβ hidden message - π― Interactive discovery experience
π΅ Music Matrix (matrix_music.py)
Audio-reactive Matrix that responds to real microphone input or simulated audio with dynamic effects.
# Basic usage (simulated audio)
python3 matrix_music.py
# For real audio, install dependencies first:
pip install sounddevice numpy
# OR
pip install pyaudio numpy
# Then run with real audio input
python3 matrix_music.py
Features: - π€ Real microphone input (when libraries installed) - π Automatic fallback to realistic simulation - π΅ Audio level visualization with progress bar - π¨ Color intensity based on sound (Green β Yellow β Red β Magenta β White β Cyan) - π Intelligent beat detection with special effects - β‘ Speed changes based on audio intensity - π Real-time audio level display - πΆ βBEAT!β indicator for rhythm detection - π§ Auto-detection of available audio libraries (sounddevice/pyaudio) - π¬ Status display showing audio mode for 3 seconds
Audio Libraries Supported:
- sounddevice + numpy (recommended - easier installation)
- pyaudio + numpy (alternative - more control)
- Automatic simulation if no libraries available
Themed Collection
π Neon Matrix (matrix_neon.py)
Matrix with neon glow effects and pulsing brightness for a cyberpunk aesthetic.
python3 matrix_neon.py
Features: - π Neon glow effects with variable intensity - π Pulsing brightness based on sine waves - β‘ Flash effects and border illumination - π¨ Multi-intensity color gradients (Dark β Bright β White) - π« Special neon colors (Magenta, Yellow highlights) - π Column-based glow intensity system
π’ Binary Matrix (matrix_binary.py)
Pure binary Matrix using only 0s and 1s like in the original movie scenes.
python3 matrix_binary.py
Features: - π’ Only 0s and 1s - true to the movie - π¬ Hidden binary messages (βHelloβ, βMatrixβ, βNeoβ, βWake upβ) - π Real-time binary counter display - π― Data stream effects with horizontal flows - π Progressive message decoding with progress indicator - π» Authentic computer code aesthetic
π» Terminal Matrix (matrix_terminal.py)
Simulates a hacker terminal with realistic command execution in the center of Matrix rain.
python3 matrix_terminal.py
Features: - π» Realistic hacker commands (nmap, hydra, metasploit, etc.) - β¨οΈ Simulated typing with realistic speed - π System responses and command output - π Real-time timestamp display - π Terminal window with borders and title - π Cybersecurity tool simulation (ethical hacking commands)
𧬠DNA Matrix (matrix_dna.py)
Matrix displaying DNA sequences with complementary base pairs and genetic information.
python3 matrix_dna.py
Features: - 𧬠DNA bases only (A, T, G, C) with authentic color coding - π Double helix visualization with complementary base pairs - π§ͺ Famous DNA sequences (telomeres, restriction sites) - π Real-time base counting and analysis - π Animated helix structure with connecting bonds - π¬ Scientific sequencer interface
π Network Matrix (matrix_network.py)
Matrix displaying real network information and simulated traffic data.
python3 matrix_network.py
Features: - π Real network information (hostname, IP, connections) - π Network traffic visualization and statistics - π Active port monitoring - π‘ Simulated packet flows (TCP, UDP, HTTP, SSH, etc.) - π Real-time traffic level indicator - π₯οΈ Network status monitoring
π° Crypto Matrix (matrix_crypto.py)
Matrix displaying cryptocurrency prices and market data with trading symbols.
python3 matrix_crypto.py
Features: - π° Cryptocurrency price tracking (BTC, ETH, ADA, DOT, LINK, XRP) - π Price trends with up/down indicators - πΉ Market sentiment analysis (Bull/Bear/Sideways) - π― Crypto symbols rain (βΏ, Ξ, β³, etc.) - π Real-time price changes and percentage tracking - π Market status indicators with emojis
π€οΈ Weather Matrix (matrix_weather.py)
Matrix displaying weather information with climate-appropriate character effects.
python3 matrix_weather.py
Features: - π€οΈ Complete weather information (temperature, humidity, pressure, wind) - π§οΈ Weather-specific characters (βοΈ, βοΈ, π§οΈ, βοΈ, βοΈ, π«οΈ) - π¨ Dynamic colors based on weather conditions - β οΈ Weather alerts (temperature, wind, UV, visibility warnings) - π‘οΈ Comfort level indicators (Cold, Cool, Comfortable, Warm, Hot) - π Detailed meteorological panel with real-time updates
Complete Version Comparison
| Version | Colors | Special Effects | Best For | Difficulty |
|---|---|---|---|---|
| Classic Collection | ||||
matrix.py |
Green only | Classic rain | Nostalgia, simplicity | β |
matrix_red.py |
Green + Red | Dramatic mix | Alerts, intensity | β |
matrix_rainbow.py |
7 rainbow colors | Festive colors | Celebrations, demos | β |
matrix_system.py |
Green + Red + Yellow | System monitoring | Admin work | ββ |
| Enhanced Collection | ||||
matrix_enhanced.py |
Green gradients | Katakana + fade | Best overall | βββ |
matrix_fire.py |
Fire gradient | Heat simulation | Visual impact | ββ |
matrix_glitch.py |
Multi + corruption | Error messages | Cyberpunk feel | ββ |
matrix_wave.py |
Wave-based | Sine motion | Fluid animation | βββ |
matrix_image.py |
Progressive reveal | ASCII art | Interactive fun | βββ |
matrix_music.py |
Audio-reactive | Beat detection | Parties, music | ββββ |
| Themed Collection | ||||
matrix_neon.py |
Neon gradients | Pulsing glow | Cyberpunk aesthetic | ββ |
matrix_binary.py |
Green + White | Binary only | Movie authenticity | β |
matrix_terminal.py |
Multi-colored | Hacker simulation | Educational/Demo | βββ |
matrix_dna.py |
Scientific colors | DNA sequences | Science/Education | βββ |
matrix_network.py |
Traffic-based | Network monitoring | IT/Networking | ββ |
matrix_crypto.py |
Market-based | Price tracking | Finance/Trading | ββ |
matrix_weather.py |
Weather-based | Climate data | Weather monitoring | ββ |
How It Works
Basic Algorithm
The screen saver creates a full-screen terminal animation where: - Random characters fall from the top of the screen - Each column has its own falling speed and position - Characters are displayed with various color schemes - The effect continues until you press βqβ to exit
Advanced Features
- Trail Effects: Characters fade over time for realistic motion blur
- Variable Speeds: Different columns fall at different rates
- Dynamic Colors: Color changes based on effects (fire, wave, audio)
- Interactive Elements: Progress bars, system info, error messages
- Unicode Support: Authentic Japanese Katakana characters
Technical Details
Performance
- Frame Rate: ~20 FPS (50ms intervals)
- Memory Usage: Minimal (< 10MB for most variants)
- CPU Usage: Low impact on system performance
- Terminal: Uses
curseslibrary for efficient terminal manipulation
Character Sets
- ASCII: Printable characters (33-126) for compatibility
- Katakana: Authentic Japanese characters (γ’γ€γ¦γ¨γͺβ¦)
- Special: Block characters for glitch effects (ββββ)
- Unicode: Full UTF-8 support where available
Color Systems
- 8-Color: Standard terminal colors (Red, Green, Blue, etc.)
- Gradients: Smooth transitions between color states
- Dynamic: Real-time color changes based on effects
- Compatibility: Works with all curses-compatible terminals
Troubleshooting
Common Issues
βcurses module not foundβ β`bash
Install python3-curses (Ubuntu/Debian)
sudo apt-get install python3-curses
# Or for CentOS/RHEL sudo yum install python3-curses
2. **Terminal not supported**
- Ensure you're using a terminal emulator that supports `curses`
- Try running in a different terminal (xterm, gnome-terminal, etc.)
3. **Permission denied**
```bash
chmod +x matrix.py
Terminal Compatibility
- β xterm
- β gnome-terminal
- β konsole
- β iTerm2 (macOS)
- β Alacritty
- β Windows Command Prompt (not supported)
Customization
You can modify any of the scripts to change:
- Speed: Adjust time.sleep(0.05) value
- Colors: Modify the color pairs in each script
- Characters: Change the range in random.randint(33, 126)
- Frame rate: Modify the timeout(100) value
- Color distribution: Adjust the probability ratios in matrix_red.py
- Rainbow colors: Add/remove colors from the rainbow_colors list in matrix_rainbow.py
License
This project is open source. Feel free to modify and distribute as needed.
Contributing
Contributions are welcome! Feel free to: - Report bugs - Suggest improvements - Submit pull requests
Acknowledgments
Inspired by the iconic Matrix digital rain effect from the 1999 film βThe Matrixβ directed by the Wachowskis.
Enjoy your Matrix screen saver experience! πΆοΈ